setup: fix bug in previous patch to include .egg's from CWD

This commit is contained in:
Zooko O'Whielacronx 2007-12-22 11:14:27 -07:00
parent 7fdcbddbbc
commit 2ee424b3a3

View File

@ -18,6 +18,6 @@ if os.path.exists(support_lib):
# libraries that we've installed if *they* require them.
for fn in os.listdir("."):
if fn.endswith(".egg"):
path.append(os.path.abspath(os.path.join(support_lib, fn)))
path.append(os.path.abspath(os.path.join(os.get_cwd(), fn)))
print os.pathsep.join(path)