diff options
| author | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2007-02-15 19:35:08 +0000 |
|---|---|---|
| committer | phillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771> | 2007-02-15 19:35:08 +0000 |
| commit | c8bc50b553a576c2efc8f910b0bace469f379fa7 (patch) | |
| tree | 06c4b6aa3f3e27703ea208705039469090369196 | |
| parent | fee9c06d90b33f141044dc6eaaf9a93ba052571f (diff) | |
| download | python-setuptools-c8bc50b553a576c2efc8f910b0bace469f379fa7.tar.gz | |
Support .egg-link paths being relative
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@53792 6015fed2-1504-0410-9fe1-9d1591cc4771
| -rw-r--r-- | pkg_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 4ed26cd..e722d6e 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1551,7 +1551,7 @@ def find_on_path(importer, path_item, only=False): elif not only and lower.endswith('.egg-link'): for line in file(os.path.join(path_item, entry)): if not line.strip(): continue - for item in find_distributions(line.rstrip()): + for item in find_distributions(os.path.join(path_item,line.rstrip())): yield item register_finder(pkgutil.ImpImporter, find_on_path) |
