Commit f8b57b4a authored by Jason R. Coombs's avatar Jason R. Coombs

Merge test with fix. Ref #913.

parents ba15c929 3f806c10
...@@ -3,6 +3,8 @@ v34.0.2 ...@@ -3,6 +3,8 @@ v34.0.2
* #882: Ensure extras are honored when building the * #882: Ensure extras are honored when building the
working set. working set.
* #913: Fix issue in develop if package directory has
a trailing slash.
v34.0.1 v34.0.1
------- -------
......
...@@ -92,7 +92,7 @@ class develop(namespaces.DevelopInstaller, easy_install): ...@@ -92,7 +92,7 @@ class develop(namespaces.DevelopInstaller, easy_install):
setup script resides and ensure that path points to the setup script resides and ensure that path points to the
setup path from $install_dir/$egg_path. 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: if path_to_setup != os.curdir:
path_to_setup = '../' * (path_to_setup.count('/') + 1) path_to_setup = '../' * (path_to_setup.count('/') + 1)
resolved = normalize_path(os.path.join(install_dir, egg_path, path_to_setup)) resolved = normalize_path(os.path.join(install_dir, egg_path, path_to_setup))
......
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