Skip to content

Commit

Permalink
Merge pull request #5148 from pradyunsg/fix/pep-518-vcs
Browse files Browse the repository at this point in the history
Fix PEP 518 support for VCS installs
  • Loading branch information
pradyunsg authored Apr 3, 2018
2 parents 6dff83b + 0de8931 commit eef8f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pip/_internal/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ def build(self, requirements, session, autobuilding=False):

buildset = []
for req in requirements:
ephem_cache = False
if req.constraint:
continue
if req.is_wheel:
Expand All @@ -715,10 +714,11 @@ def build(self, requirements, session, autobuilding=False):
pass
elif autobuilding and req.link and not req.link.is_artifact:
# VCS checkout. Build wheel just for this run.
ephem_cache = True
buildset.append((req, True))
elif autobuilding and not req.source_dir:
pass
else:
ephem_cache = False
if autobuilding:
link = req.link
base, ext = link.splitext()
Expand Down

0 comments on commit eef8f6e

Please sign in to comment.