[Zope3-checkins] SVN: Zope3/trunk/ Added static apidoc script to
release structure and updated deps.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Oct 31 14:36:58 EST 2005
Log message for revision 39782:
Added static apidoc script to release structure and updated deps.
Changed:
U Zope3/trunk/releases/Zope/DEPENDENCIES.cfg
A Zope3/trunk/zopeskel/bin/static-apidoc.in
-=-
Modified: Zope3/trunk/releases/Zope/DEPENDENCIES.cfg
===================================================================
--- Zope3/trunk/releases/Zope/DEPENDENCIES.cfg 2005-10-31 19:36:01 UTC (rev 39781)
+++ Zope3/trunk/releases/Zope/DEPENDENCIES.cfg 2005-10-31 19:36:58 UTC (rev 39782)
@@ -5,6 +5,8 @@
# things once we're confident the core is working.
zope.contentprovider
+zope.formlib
+zope.testing
zope.viewlet
zope.app
zope.app.apidoc
Added: Zope3/trunk/zopeskel/bin/static-apidoc.in
===================================================================
--- Zope3/trunk/zopeskel/bin/static-apidoc.in 2005-10-31 19:36:01 UTC (rev 39781)
+++ Zope3/trunk/zopeskel/bin/static-apidoc.in 2005-10-31 19:36:58 UTC (rev 39782)
@@ -0,0 +1,29 @@
+#!<<PYTHON>> -u
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Script to create a static version of the apidoc tool.
+
+$Id: $
+"""
+import os
+import sys
+
+SOFTWARE_HOME = r"<<SOFTWARE_HOME>>"
+
+instance_lib = os.path.join(here, "lib", "python")
+
+sys.path[:0] = [instance_lib, SOFTWARE_HOME]
+
+from zope.app.apidoc.static import main
+main()
More information about the Zope3-Checkins
mailing list