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

Restored ability to install non-editable packages

This commit is contained in:
Jannis Leidel 2009-01-25 04:49:51 +01:00
parent 5d17e5f08d
commit 9410a91e6c

3
pip.py
View file

@ -1377,8 +1377,9 @@ execfile(__file__)
base = self.source_dir
else:
base = os.path.join(self.source_dir, 'pip-egg-info')
filenames = []
filenames = os.listdir(base)
if self.editable:
filenames = []
for root, dirs, files in os.walk(base):
for dir in vcs.dirnames:
if dir in dirs: