From c6ff5fd401ebae2b3c2e00c18b76d23ec79f4c39 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Fri, 12 Oct 2018 16:00:24 -0400 Subject: [PATCH] Allow local path to be installed non-editable - Allow non-CPython interpreter discovery - Fixes #3005 Signed-off-by: Dan Ryan --- news/3005.bugfix | 1 + pipenv/core.py | 3 --- pipenv/vendor/pythonfinder/__init__.py | 2 +- pipenv/vendor/vendor.txt | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 news/3005.bugfix diff --git a/news/3005.bugfix b/news/3005.bugfix new file mode 100644 index 0000000000..b4022a256e --- /dev/null +++ b/news/3005.bugfix @@ -0,0 +1 @@ +Fixed a bug which prevented installing the local directory in non-editable mode. diff --git a/pipenv/core.py b/pipenv/core.py index 7633bdfce4..04ac5a832f 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1804,9 +1804,6 @@ def do_install( for req in import_from_code(code): click.echo(" Found {0}!".format(crayons.green(req))) project.add_package_to_pipfile(req) - # Capture . argument and assign it to nothing - if len(packages) == 1 and packages[0] == ".": - packages = False # Install editable local packages before locking - this gives us access to dist-info if project.pipfile_exists and ( # double negatives are for english readability, leave them alone. diff --git a/pipenv/vendor/pythonfinder/__init__.py b/pipenv/vendor/pythonfinder/__init__.py index 98005c4b60..672724b4bf 100644 --- a/pipenv/vendor/pythonfinder/__init__.py +++ b/pipenv/vendor/pythonfinder/__init__.py @@ -1,6 +1,6 @@ from __future__ import print_function, absolute_import -__version__ = '1.1.2.dev0' +__version__ = '1.1.2' # Add NullHandler to "pythonfinder" logger, because Python2's default root # logger has no handler and warnings like this would be reported: diff --git a/pipenv/vendor/vendor.txt b/pipenv/vendor/vendor.txt index a7761f66a1..7a574b9f12 100644 --- a/pipenv/vendor/vendor.txt +++ b/pipenv/vendor/vendor.txt @@ -21,7 +21,7 @@ pipdeptree==0.13.0 pipreqs==0.4.9 docopt==0.6.2 yarg==0.1.9 -pythonfinder==1.1.1 +pythonfinder==1.1.2 requests==2.19.1 chardet==3.0.4 idna==2.7