[Zope3-checkins] SVN: Zope3/trunk/ re-arrange the build support
structures to ease migration to the revised
Fred L. Drake, Jr.
fdrake at gmail.com
Wed Aug 31 12:22:35 EDT 2005
Log message for revision 38195:
re-arrange the build support structures to ease migration to the revised
ZConfig-using zpkg; this will help keep the build-support stuff out of the
top-level directory of the checkout (such is the plan, at least)
Changed:
_U Zope3/trunk/
A Zope3/trunk/buildsupport/
A Zope3/trunk/buildsupport/README.txt
U Zope3/trunk/setup.py
-=-
Property changes on: Zope3/trunk
___________________________________________________________________
Name: svn:externals
- zpkgsetup svn://svn.zope.org/repos/main/zpkgtools/trunk/zpkgsetup
Property changes on: Zope3/trunk/buildsupport
___________________________________________________________________
Name: svn:externals
+ zpkgsetup svn://svn.zope.org/repos/main/zpkgtools/trunk/zpkgsetup
Added: Zope3/trunk/buildsupport/README.txt
===================================================================
--- Zope3/trunk/buildsupport/README.txt 2005-08-31 16:09:19 UTC (rev 38194)
+++ Zope3/trunk/buildsupport/README.txt 2005-08-31 16:22:34 UTC (rev 38195)
@@ -0,0 +1,9 @@
+zpkg support files
+==================
+
+Files and packages included here are intended to support the use of
+zpkg as a build tool. They are not part of Zope, are not included in
+the distribution, and are not importable in the application server.
+
+The setup.py script will process any .pth files placed here, though
+those would not normally be handled by most applications.
Property changes on: Zope3/trunk/buildsupport/README.txt
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: Zope3/trunk/setup.py
===================================================================
--- Zope3/trunk/setup.py 2005-08-31 16:09:19 UTC (rev 38194)
+++ Zope3/trunk/setup.py 2005-08-31 16:22:34 UTC (rev 38195)
@@ -13,14 +13,21 @@
##############################################################################
import os
+import site
+import sys
+here = os.path.dirname(os.path.abspath(__file__))
+buildsupport = os.path.join(here, "buildsupport")
+
+sys.path.insert(0, buildsupport)
+# Process *.pth files from buildsupport/:
+site.addsitedir(buildsupport)
+
import zpkgsetup.package
import zpkgsetup.publication
import zpkgsetup.setup
-here = os.path.dirname(os.path.abspath(__file__))
-
context = zpkgsetup.setup.SetupContext(
"Zope", "3.1.0a42", __file__)
More information about the Zope3-Checkins
mailing list