[Zope3-checkins] CVS: Zope3/utilities - makezcmldocs.py:1.4.20.1
R. David Murray
bitz@bitdance.com
Tue, 24 Dec 2002 13:20:02 -0500
Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv21484
Modified Files:
Tag: NameGeddon-branch
makezcmldocs.py
Log Message:
Fix imports.
=== Zope3/utilities/makezcmldocs.py 1.4 => 1.4.20.1 ===
--- Zope3/utilities/makezcmldocs.py:1.4 Fri Nov 8 15:09:43 2002
+++ Zope3/utilities/makezcmldocs.py Tue Dec 24 13:20:01 2002
@@ -37,14 +37,14 @@
here = os.path.normpath(os.path.join(os.getcwd(),
os.path.split(sys.argv[0])[0]))
root = os.path.split(here)[0] #We live in the utilities subdirectory
-libpython = os.path.join(root, 'lib', 'python')
+libpython = os.path.join(root, 'src')
sys.path=[libpython] + basepath
# Now for the z3 imports.
-from Zope.Configuration.meta import _directives
-from Zope.Configuration.xmlconfig import XMLConfig
-from Zope.App import config
-from Zope.Configuration.metametaConfigureForDocgen import _metadataKey
+from zope.configuration.meta import _directives
+from zope.configuration.xmlconfig import XMLConfig
+from zope.app import config
+from zope.configuration.metametaconfigurefordocgen import _metadataKey
# Some additional useful names.
treeroot = os.path.join(root,'doc','zcml.new') #Where we put the docs.