[Python-checkins] r46781 - sandbox/trunk/setuptools/setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Fri Jun 9 18:42:03 CEST 2006


Author: phillip.eby
Date: Fri Jun  9 18:42:03 2006
New Revision: 46781

Modified:
   sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
Fix sometimes not detecting local packages installed outside of "site" 
directories.


Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py	Fri Jun  9 18:42:03 2006
@@ -171,7 +171,7 @@
             self.package_index = self.create_index(
                 self.index_url, search_path = self.shadow_path, hosts=hosts
             )
-        self.local_index = Environment(self.shadow_path)
+        self.local_index = Environment(self.shadow_path+sys.path)
 
         if self.find_links is not None:
             if isinstance(self.find_links, basestring):


More information about the Python-checkins mailing list