aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-01-24 10:26:26 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-01-24 10:26:26 -0500
commitf8b57b4a8f204ddace56410ed4a21f2f30880be0 (patch)
treefe7f9c0cc7e7f0191cf4ddf7df006096d22c4e7c /setuptools/command
parentba15c9294488451900766898865c024dad2bf2be (diff)
parent3f806c10259bd13a99a02117725ba1ae52c5cf33 (diff)
downloadexternal_python_setuptools-f8b57b4a8f204ddace56410ed4a21f2f30880be0.tar.gz
external_python_setuptools-f8b57b4a8f204ddace56410ed4a21f2f30880be0.tar.bz2
external_python_setuptools-f8b57b4a8f204ddace56410ed4a21f2f30880be0.zip
Merge test with fix. Ref #913.
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/develop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 97708ba3..ddfdc662 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -92,7 +92,7 @@ class develop(namespaces.DevelopInstaller, easy_install):
setup script resides and ensure that path points to the
setup path from $install_dir/$egg_path.
"""
- path_to_setup = egg_base.replace(os.sep, '/')
+ path_to_setup = egg_base.replace(os.sep, '/').rstrip('/')
if path_to_setup != os.curdir:
path_to_setup = '../' * (path_to_setup.count('/') + 1)
resolved = normalize_path(os.path.join(install_dir, egg_path, path_to_setup))