diff options
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 828fb17f..c6b83be9 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1288,6 +1288,8 @@ def get_exe_prefixes(exe_filename): break if len(parts)<>2 or not name.endswith('.pth'): continue + if name.endswith('-nspkg.pth'): + continue if parts[0] in ('PURELIB','PLATLIB'): pth = z.read(name).strip() prefixes[0] = ('PURELIB/%s/' % pth), '' @@ -1308,8 +1310,6 @@ def parse_requirement_arg(spec): ) - - class PthDistributions(Environment): """A .pth file with Distribution paths in it""" |