summaryrefslogtreecommitdiff
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-06-09 16:44:15 +0000
committerPJ Eby <distutils-sig@python.org>2006-06-09 16:44:15 +0000
commit455c461299b6527ef7cab98e6f95666118a8e22e (patch)
tree76f7201bdc0704388467a9622c4957115c8df3af /setuptools/command/easy_install.py
parent812d9964a9831218e3f19827c94f85a9047774db (diff)
downloadpython-setuptools-git-455c461299b6527ef7cab98e6f95666118a8e22e.tar.gz
Fix sometimes not detecting local packages installed outside of "site"
directories. (merge from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046782
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 3a244470..eff60cf8 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -171,7 +171,7 @@ class easy_install(Command):
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):