From b41284748546e6a1cc3960aeab36c895f6280152 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Tue, 1 Jan 2008 01:53:31 -0700 Subject: [PATCH] setup: whoops, fix the use of source-tree-root-dir eggs in our Makefile --- misc/find-dep-eggs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/misc/find-dep-eggs.py b/misc/find-dep-eggs.py index 97bfc3d8..6a2fef14 100644 --- a/misc/find-dep-eggs.py +++ b/misc/find-dep-eggs.py @@ -14,4 +14,10 @@ if os.path.exists(support_lib): if fn.endswith(".egg"): path.append(os.path.abspath(os.path.join(support_lib, fn))) +# We also need to include .egg's in the CWD, because if there is an .egg there +# then "make build-deps" will take that as satisfying its requirements. +for fn in os.listdir("."): + if fn.endswith(".egg"): + path.append(os.path.abspath(os.path.join(os.getcwd(), fn))) + print os.pathsep.join(path) -- 2.45.2