mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
changed VCS check to .link instead of .original_link
This commit is contained in:
+3
-4
@@ -109,10 +109,9 @@ def ensure_pipfile(validate=True):
|
||||
|
||||
for package in reqs:
|
||||
if package.name not in BAD_PACKAGES:
|
||||
if package.original_link is not None:
|
||||
pack_link = str(package.original_link)
|
||||
pack = '-e {0}'.format(pack_link) if package.editable else pack_link
|
||||
project.add_package_to_pipfile(pack)
|
||||
if package.link is not None:
|
||||
package_string = '-e {0}'.format(package.link) if package.editable else str(package.link)
|
||||
project.add_package_to_pipfile(package_string)
|
||||
else:
|
||||
project.add_package_to_pipfile(str(package.req))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user