diff options
author | David Szotten <davidszotten@gmail.com> | 2017-01-05 11:47:09 +0000 |
---|---|---|
committer | David Szotten <davidszotten@gmail.com> | 2017-01-05 11:47:09 +0000 |
commit | e9f0e6f16b46d084bdf92606cd0217b3f12ed25a (patch) | |
tree | 296762624c1368603ab4ea5379b1ccd4b8f91a60 /setuptools/command/develop.py | |
parent | 8db1d2d4f72f347f3fd5a9d8cf4a225173251318 (diff) | |
download | external_python_setuptools-e9f0e6f16b46d084bdf92606cd0217b3f12ed25a.tar.gz external_python_setuptools-e9f0e6f16b46d084bdf92606cd0217b3f12ed25a.tar.bz2 external_python_setuptools-e9f0e6f16b46d084bdf92606cd0217b3f12ed25a.zip |
strip trailing slash from package_dir before counting slashes
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-x | setuptools/command/develop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index aa82f959..ca05d1e3 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -79,7 +79,7 @@ class develop(namespaces.DevelopInstaller, easy_install): project_name=ei.egg_name ) - p = self.egg_base.replace(os.sep, '/') + p = self.egg_base.replace(os.sep, '/').rstrip('/') if p != os.curdir: p = '../' * (p.count('/') + 1) self.setup_path = p |