[prev in list] [next in list] [prev in thread] [next in thread]
List: zope3-checkins
Subject: [Zope3-checkins] SVN: Zope3/trunk/setup.py avoid duplicated file
From: "Fred L. Drake, Jr." <fdrake () gmail ! com>
Date: 2005-08-24 15:51:01
Message-ID: 20050824155101.AA8CC2033D9 () mail ! zope ! org
[Download RAW message or body]
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)
_______________________________________________
Zope3-Checkins mailing list
Zope3-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope3-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic