[Python-checkins] r53792 - sandbox/trunk/setuptools/pkg_resources.py
phillip.eby
python-checkins at python.org
Thu Feb 15 20:35:09 CET 2007
Author: phillip.eby
Date: Thu Feb 15 20:35:08 2007
New Revision: 53792
Modified:
sandbox/trunk/setuptools/pkg_resources.py
Log:
Support .egg-link paths being relative
Modified: sandbox/trunk/setuptools/pkg_resources.py
==============================================================================
--- sandbox/trunk/setuptools/pkg_resources.py (original)
+++ sandbox/trunk/setuptools/pkg_resources.py Thu Feb 15 20:35:08 2007
@@ -1551,7 +1551,7 @@
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)
More information about the Python-checkins
mailing list