1
1
Fork 0
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:
Jannis Leidel 2009-07-01 01:02:58 +02:00
parent e7431fd858
commit 4933bc3201

2
pip.py
View file

@ -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: