Allow local path to be installed non-editable

- Allow non-CPython interpreter discovery
- Fixes #3005

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-10-12 16:00:24 -04:00
parent a8562afec5
commit c6ff5fd401
4 changed files with 3 additions and 5 deletions
+1
View File
@@ -0,0 +1 @@
Fixed a bug which prevented installing the local directory in non-editable mode.
-3
View File
@@ -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.
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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