[Zodb-checkins] CVS: ZODB4 - setup.py:1.6
Jeremy Hylton
jeremy@zope.com
Fri, 6 Dec 2002 14:41:22 -0500
Update of /cvs-repository/ZODB4
In directory cvs.zope.org:/tmp/cvs-serv17521
Modified Files:
setup.py
Log Message:
Only install logging for Python 2.2.
=== ZODB4/setup.py 1.5 => 1.6 ===
--- ZODB4/setup.py:1.5 Fri Dec 6 14:29:42 2002
+++ ZODB4/setup.py Fri Dec 6 14:41:22 2002
@@ -24,8 +24,10 @@
from distutils.core import setup
from distutils.extension import Extension
+
import glob
import os
+import sys
# A hack to determine if Extension objects support the depends keyword arg.
if not "depends" in Extension.__init__.func_code.co_varnames:
@@ -134,8 +136,11 @@
"ZEO", "ZEO.zrpc",
"zLOG",
"ZODB",
- "logging",
]
+
+if sys.version_info < (2, 3):
+ # the logging package becomes a std feature in 2.3
+ packages.append("logging")
def hastests(p):
path = "/".join(p.split(".")) + "/tests"