diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-01-24 10:24:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 10:24:04 -0500 |
commit | 3f806c10259bd13a99a02117725ba1ae52c5cf33 (patch) | |
tree | e892126f51ec4a64452fb3b022ad4c7bd448f24d /setuptools/command/develop.py | |
parent | 997b4351f8459622c203eb1b274fee7a73980ce6 (diff) | |
parent | e9f0e6f16b46d084bdf92606cd0217b3f12ed25a (diff) | |
download | external_python_setuptools-3f806c10259bd13a99a02117725ba1ae52c5cf33.tar.gz external_python_setuptools-3f806c10259bd13a99a02117725ba1ae52c5cf33.tar.bz2 external_python_setuptools-3f806c10259bd13a99a02117725ba1ae52c5cf33.zip |
Merge pull request #913 from davidszotten/package_dir_trailing_slash
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 1489de9e..e8f666f1 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 |