[Zodb-checkins] CVS: ZODB3 - setup.py:1.62
Fred L. Drake, Jr.
fred at zope.com
Fri Jan 2 14:30:40 EST 2004
Update of /cvs-repository/ZODB3
In directory cvs.zope.org:/tmp/cvs-serv19516
Modified Files:
setup.py
Log Message:
distutils makes it easy to work with POSIX paths
=== ZODB3/setup.py 1.61 => 1.62 ===
--- ZODB3/setup.py:1.61 Fri Jan 2 14:26:07 2004
+++ ZODB3/setup.py Fri Jan 2 14:30:40 2004
@@ -41,6 +41,7 @@
from distutils.dist import Distribution
from distutils.command.install_lib import install_lib
from distutils.command.build_py import build_py
+from distutils.util import convert_path
if sys.version_info < (2, 3):
print "ZODB3 3.3 requires Python 2.3 or higher"
@@ -156,19 +157,20 @@
def copy_other_files(cmd, outputbase):
for inputdir in [
- os.path.join("ZConfig", "components", "basic"),
- os.path.join("ZConfig", "components", "logger"),
- os.path.join("ZConfig", "tests", "input"),
- os.path.join("ZConfig", "tests", "library"),
- os.path.join("ZConfig", "tests", "library", "thing"),
- os.path.join("ZConfig", "tests", "library", "thing", "extras"),
- os.path.join("ZConfig", "tests", "library", "widget"),
+ "ZConfig/components/basic",
+ "ZConfig/components/logger",
+ "ZConfig/tests/input",
+ "ZConfig/tests/library",
+ "ZConfig/tests/library/thing",
+ "ZConfig/tests/library/thing/extras",
+ "ZConfig/tests/library/widget",
"ZEO",
"ZODB",
"zdaemon",
- os.path.join("zdaemon", "tests"),
+ "zdaemon/tests",
"zLOG",
]:
+ inputdir = convert_path(inputdir)
outputdir = os.path.join(outputbase, inputdir)
if not os.path.exists(outputdir):
dir_util.mkpath(outputdir)
More information about the Zodb-checkins
mailing list