1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Merge pull request #2782 from rbtcollins/issue-2780

Issue #2780: Fix assertion installing with no cache.
This commit is contained in:
Donald Stufft 2015-05-14 20:35:33 -04:00
commit 416f9d0eff

View file

@ -272,7 +272,8 @@ class InstallCommand(RequirementCommand):
return
try:
if options.download_dir or not wheel:
if (options.download_dir or not wheel or not
options.cache_dir):
# on -d don't do complex things like building
# wheels, and don't try to build wheels when wheel is
# not installed.