diff options
Diffstat (limited to 'pip/commands/zip.py')
-rw-r--r-- | pip/commands/zip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pip/commands/zip.py b/pip/commands/zip.py index ebe1d791a..1c84210ac 100644 --- a/pip/commands/zip.py +++ b/pip/commands/zip.py @@ -231,7 +231,7 @@ class ZipCommand(Command): def add_filename_to_pth(self, filename): path = os.path.dirname(filename) - dest = os.path.join(path, filename + '.pth') + dest = filename + '.pth' if path not in self.paths(): logger.warn('Adding .pth file %s, but it is not on sys.path' % display_path(dest)) if not self.simulate: |