mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Make sure the build directory exists.
This commit is contained in:
parent
e7431fd858
commit
4933bc3201
1 changed files with 2 additions and 0 deletions
2
pip.py
2
pip.py
|
@ -1884,6 +1884,8 @@ class RequirementSet(object):
|
|||
req_to_install.source_dir = location
|
||||
else:
|
||||
location = req_to_install.source_dir
|
||||
if not os.path.exists(self.build_dir):
|
||||
os.makedirs(self.build_dir)
|
||||
req_to_install.update_editable()
|
||||
req_to_install.run_egg_info()
|
||||
elif install:
|
||||
|
|
Loading…
Reference in a new issue