[Zope3-checkins] SVN: Zope3/trunk/ switch to the zpkg trunk,
and drop the code to walk the sources looking
Fred L. Drake, Jr.
fdrake at gmail.com
Wed Aug 24 12:36:35 EDT 2005
Log message for revision 38069:
switch to the zpkg trunk, and drop the code to walk the sources looking
for packaging metadata; zpkg can take care of that for us
Changed:
_U Zope3/trunk/
U Zope3/trunk/setup.py
-=-
Property changes on: Zope3/trunk
___________________________________________________________________
Name: svn:externals
- zpkgsetup svn://svn.zope.org/repos/main/zpkgtools/tags/0.9/zpkgsetup
+ zpkgsetup svn://svn.zope.org/repos/main/zpkgtools/trunk/zpkgsetup
Modified: Zope3/trunk/setup.py
===================================================================
--- Zope3/trunk/setup.py 2005-08-24 16:35:27 UTC (rev 38068)
+++ Zope3/trunk/setup.py 2005-08-24 16:36:35 UTC (rev 38069)
@@ -28,17 +28,5 @@
os.path.join(here, "releases", "Zope",
zpkgsetup.publication.PUBLICATION_CONF))
-for root, dirs, files in os.walk("src"):
- for d in dirs[:]:
- # drop sub-directories that are not Python packages:
- initfn = os.path.join(root, d, "__init__.py")
- if not os.path.isfile(initfn):
- dirs.remove(d)
- 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)
- relative_path = root.replace(os.path.sep, "/")
- context.scan(pkgname, local_full_path, relative_path)
-
+context.walk_packages("src")
context.setup()
More information about the Zope3-Checkins
mailing list