mirror of https://github.com/pypa/pip
remove unused unpack arg from build_location
This commit is contained in:
parent
32e729f6f2
commit
cc445dcfb8
|
@ -212,7 +212,7 @@ class InstallRequirement(object):
|
|||
s += '->' + comes_from
|
||||
return s
|
||||
|
||||
def build_location(self, build_dir, unpack=True):
|
||||
def build_location(self, build_dir):
|
||||
if self._temp_build_dir is not None:
|
||||
return self._temp_build_dir
|
||||
if self.req is None:
|
||||
|
|
|
@ -193,7 +193,6 @@ class RequirementSet(object):
|
|||
elif install_needed:
|
||||
req_to_install.source_dir = req_to_install.build_location(
|
||||
self.build_dir,
|
||||
not self.is_download,
|
||||
)
|
||||
|
||||
if (req_to_install.source_dir is not None
|
||||
|
@ -307,7 +306,6 @@ class RequirementSet(object):
|
|||
# build directory
|
||||
location = req_to_install.build_location(
|
||||
self.build_dir,
|
||||
not self.is_download,
|
||||
)
|
||||
unpack = True
|
||||
url = None
|
||||
|
|
Loading…
Reference in New Issue