From 5802fd80e413b63af8be9198f14da1ade47d409c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 27 Sep 2014 09:29:53 -0400 Subject: Use rpartition here, essential to the algorithm. Fixes #259. --HG-- extra : amend_source : d7b3c001b4db616a67793dcc57d5c13e3828ad3a --- setuptools/command/install_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/install_lib.py') 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): """ -- cgit v1.2.3