[Zope3-checkins] CVS: Zope3 - stupid_build.py:1.8
Jeremy Hylton
jeremy@zope.com
Thu, 19 Dec 2002 15:32:39 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv26960
Modified Files:
stupid_build.py
Log Message:
.h files are now found in lib/python
=== Zope3/stupid_build.py 1.7 => 1.8 ===
--- Zope3/stupid_build.py:1.7 Fri Nov 22 07:43:56 2002
+++ Zope3/stupid_build.py Thu Dec 19 15:32:38 2002
@@ -59,13 +59,13 @@
includes = os.path.dirname(sys.argv[0])
else:
includes = os.path.dirname(__file__)
- includes = os.path.join(os.path.abspath(includes), "include")
+ includes = os.path.join(os.path.abspath(includes), "lib/python")
for dir in setup_dirs:
print "Building extensions in %s" % dir
os.chdir(dir)
- os.spawnl(os.P_WAIT, sys.executable,
- sys.executable, "setup.py", 'build_ext', '-i',
- '-I', includes, *args)
+ cmd = sys.executable, "setup.py", 'build_ext', '-i', '-I', includes
+ cmd += tuple(args)
+ os.spawnl(os.P_WAIT, sys.executable, *cmd)
print
if __name__ == "__main__":