Fix pep508 direct URL depedencies

- Fixes #3148

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2019-01-27 02:06:40 -05:00
parent 23ee483e1c
commit eae3958227
7 changed files with 229 additions and 102 deletions
+3
View File
@@ -233,6 +233,9 @@ class _PipenvInstance(object):
def __enter__(self):
if self.chdir:
os.chdir(self.path)
os.environ['PIPENV_PIPFILE'] = fs_str(self.pipfile_path)
c = delegator.run("pipenv run pip install /home/hawk/git/pip")
assert c.return_code == 0
return self
def __exit__(self, *args):