[Zope3-checkins] SVN: Zope3/trunk/setup.py avoid duplicated file
names when defined constants are already available
Fred L. Drake, Jr.
fdrake at gmail.com
Wed Aug 24 11:51:01 EDT 2005
Log message for revision 38060:
avoid duplicated file names when defined constants are already available
Changed:
U Zope3/trunk/setup.py
-=-
Modified: Zope3/trunk/setup.py
===================================================================
--- Zope3/trunk/setup.py 2005-08-24 14:17:21 UTC (rev 38059)
+++ Zope3/trunk/setup.py 2005-08-24 15:51:01 UTC (rev 38060)
@@ -14,6 +14,8 @@
import os
+import zpkgsetup.package
+import zpkgsetup.publication
import zpkgsetup.setup
@@ -23,7 +25,8 @@
"Zope", "3.1.0a42", __file__)
context.load_metadata(
- os.path.join(here, "releases", "Zope", "PUBLICATION.cfg"))
+ os.path.join(here, "releases", "Zope",
+ zpkgsetup.publication.PUBLICATION_CONF))
for root, dirs, files in os.walk("src"):
for d in dirs[:]:
@@ -31,7 +34,7 @@
initfn = os.path.join(root, d, "__init__.py")
if not os.path.isfile(initfn):
dirs.remove(d)
- if "SETUP.cfg" in files:
+ if zpkgsetup.package.PACKAGE_CONF in files:
# scan this directory as a package:
pkgname = root[4:].replace(os.path.sep, ".")
local_full_path = os.path.join(here, root)
More information about the Zope3-Checkins
mailing list