]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: whoops, fix the use of source-tree-root-dir eggs in our Makefile
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 1 Jan 2008 08:53:31 +0000 (01:53 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 1 Jan 2008 08:53:31 +0000 (01:53 -0700)
misc/find-dep-eggs.py

index 97bfc3d8bf45abb57906a4eb038e9ec011e25944..6a2fef14616bfca21d1a99fcf113a78bad4e244c 100644 (file)
@@ -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)