[Zope3-checkins] CVS: Zope3 - setup.py:1.11
Jeremy Hylton
jeremy@zope.com
Thu, 19 Dec 2002 18:43:08 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv22023
Modified Files:
setup.py
Log Message:
Only build winlock on Windows
=== Zope3/setup.py 1.10 => 1.11 ===
--- Zope3/setup.py:1.10 Thu Dec 19 18:21:32 2002
+++ Zope3/setup.py Thu Dec 19 18:43:07 2002
@@ -165,7 +165,6 @@
depends = ["lib/python/Persistence/cPersistence.h",
"lib/python/Persistence/cPersistenceAPI.h",]),
Extension("ZODB._TimeStamp", ["lib/python/ZODB/TimeStamp.c"]),
- Extension("ZODB.winlock", ["lib/python/ZODB/winlock.c"]),
Extension("BDBStorage._helper", ["lib/python/BDBStorage/_helper.c"]),
Extension("Zope.ContextWrapper.wrapper",
["lib/python/Zope/ContextWrapper/wrapper.c"],
@@ -179,6 +178,9 @@
include_dirs = ["lib/python"],
depends = ["lib/python/Zope/Proxy/proxy.h"]),
]
+
+if sys.platform == "win32":
+ ext_modules += [Extension("ZODB.winlock", ["lib/python/ZODB/winlock.c"])]
doclines = __doc__.split("\n")