[Zope3-checkins] CVS: Zope3 - stupid_build.py:1.9

Jeremy Hylton jeremy@zope.com
Thu, 19 Dec 2002 18:50:59 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv22919

Modified Files:
	stupid_build.py 
Log Message:
Only look for setup.py in lib/python.

Otherwise it will also find the new, top-level setup.py and do strange
things.


=== Zope3/stupid_build.py 1.8 => 1.9 ===
--- Zope3/stupid_build.py:1.8	Thu Dec 19 15:32:38 2002
+++ Zope3/stupid_build.py	Thu Dec 19 18:50:58 2002
@@ -48,8 +48,9 @@
         os.path.exists('products.zcml.in')):
         print 'Copying products.zcml.in to products.zcml'
         open('products.zcml', 'w').write(open('products.zcml.in').read())
+    srcdir = os.path.join(os.getcwd(), "lib/python")
     setup_dirs = []
-    os.path.walk(os.getcwd(), visit, setup_dirs)
+    os.path.walk(srcdir, visit, setup_dirs)
     args = sys.argv[1:]
     if not args:
         args = ['clean']