Commit 3f806c10 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #913 from davidszotten/package_dir_trailing_slash

strip trailing slash from package_dir before counting slashes
parents 997b4351 e9f0e6f1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment