summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-27 09:29:53 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-27 09:29:53 -0400
commitcfd2476c87d46112fd3e209e21d017b132287432 (patch)
tree1a43b8587b20e6062c17a85daae8f542b94777b0
parent3da39fbbc13f0f9f220e2aff6057719e66e6d092 (diff)
downloadpython-setuptools-bitbucket-cfd2476c87d46112fd3e209e21d017b132287432.tar.gz
Use rpartition here, essential to the algorithm. Fixes #259.
-rw-r--r--setuptools/command/install_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index 3cd16a8f..9b772227 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -43,7 +43,7 @@ class install_lib(orig.install_lib):
"""
while pkg_name:
yield pkg_name
- pkg_name, sep, child = pkg_name.partition('.')
+ pkg_name, sep, child = pkg_name.rpartition('.')
def _get_SVEM_NSPs(self):
"""