This commit is contained in:
Alex Gaynor 2017-03-22 18:01:57 -04:00 committed by GitHub
parent d71c81d2d4
commit ef174dff0e
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ class DownloadCommand(RequirementCommand):
def run(self, options, args):
options.ignore_installed = True
# editable doesn't really make sense for `pip download`, but the bowels
# of the RequirementSet code require that property.
options.editables = []
if options.python_version:
python_versions = [options.python_version]