Commit 2d460352 authored by Fred Drake's avatar Fred Drake

- add the docutils package

- don't pretend directories inside packages are themselves packages if
  they aren't; list them using the "data_files" keyword (this avoids
  noisy warnings for installation and out-of-place building)
parent 7162c0e2
...@@ -168,7 +168,7 @@ setup( ...@@ -168,7 +168,7 @@ setup(
name='AccessControl', name='AccessControl',
author=AUTHOR, author=AUTHOR,
packages=['AccessControl', 'AccessControl.securitySuite', packages=['AccessControl',
'AccessControl.tests', 'AccessControl.tests.mixed_module', 'AccessControl.tests', 'AccessControl.tests.mixed_module',
'AccessControl.tests.mixed_module.submodule', 'AccessControl.tests.mixed_module.submodule',
'AccessControl.tests.private_module', 'AccessControl.tests.private_module',
...@@ -178,7 +178,8 @@ setup( ...@@ -178,7 +178,8 @@ setup(
data_files=[['AccessControl', ['AccessControl/*.txt']], data_files=[['AccessControl', ['AccessControl/*.txt']],
['AccessControl/dtml', ['AccessControl/dtml/*']], ['AccessControl/dtml', ['AccessControl/dtml/*']],
['AccessControl/securitySuite', ['AccessControl/securitySuite',
['AccessControl/securitySuite/README']], ['AccessControl/securitySuite/README',
'AccessControl/securitySuite/*.py']],
['AccessControl/www', ['AccessControl/www/*']]], ['AccessControl/www', ['AccessControl/www/*']]],
ext_modules=[ ext_modules=[
Extension(name='AccessControl.cAccessControl', Extension(name='AccessControl.cAccessControl',
...@@ -254,7 +255,7 @@ setup( ...@@ -254,7 +255,7 @@ setup(
author=AUTHOR, author=AUTHOR,
packages=['DateTime', 'DateTime.tests'], packages=['DateTime', 'DateTime.tests'],
data_files=[['DateTime', ['DateTime/DateTime.html']], data_files=[['DateTime', ['DateTime/DateTime.txt']],
['DateTime/tests', ['DateTime/tests/julian_testdata.txt.gz']]], ['DateTime/tests', ['DateTime/tests/julian_testdata.txt.gz']]],
) )
...@@ -274,6 +275,16 @@ setup( ...@@ -274,6 +275,16 @@ setup(
sources=['DocumentTemplate/cDocumentTemplate.c'])] sources=['DocumentTemplate/cDocumentTemplate.c'])]
) )
# docutils
setup(
name='docutils',
author='David Goodger and contributors',
packages=['docutils', 'docutils.languages', 'docutils.parsers',
'docutils.parsers.rst', 'docutils.parsers.rst.directives',
'docutils.parsers.rst.languages', 'docutils.readers',
'docutils.transforms', 'docutils.writers'],
)
# ExtensionClass # ExtensionClass
setup( setup(
name='ExtensionClass', name='ExtensionClass',
...@@ -282,28 +293,29 @@ setup( ...@@ -282,28 +293,29 @@ setup(
ext_modules=[ ext_modules=[
Extension(name='ExtensionClass', Extension(name='ExtensionClass',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/ExtensionClass.c']), sources=[EXTENSIONCLASS_SRCDIR + "/ExtensionClass.c"]),
Extension(name='Acquisition', Extension(name='Acquisition',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/Acquisition.c']), sources=[EXTENSIONCLASS_SRCDIR + "/Acquisition.c"]),
Extension(name='MethodObject', Extension(name='MethodObject',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/MethodObject.c']), sources=[EXTENSIONCLASS_SRCDIR + "/MethodObject.c"]),
Extension(name='MultiMapping', Extension(name='MultiMapping',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/MultiMapping.c']), sources=[EXTENSIONCLASS_SRCDIR + "/MultiMapping.c"]),
Extension(name='ThreadLock', Extension(name='ThreadLock',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/ThreadLock.c']), sources=[EXTENSIONCLASS_SRCDIR + "/ThreadLock.c"]),
Extension(name='Missing', Extension(name='Missing',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/Missing.c']), sources=[EXTENSIONCLASS_SRCDIR + "/Missing.c"]),
Extension(name='Record', Extension(name='Record',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/Record.c']), sources=[EXTENSIONCLASS_SRCDIR + "/Record.c"]),
Extension(name='ComputedAttribute', Extension(name='ComputedAttribute',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
sources=['../Components/ExtensionClass/src/ComputedAttribute.c'])] sources=[EXTENSIONCLASS_SRCDIR + "/ComputedAttribute.c"]),
]
) )
# HelpSys # HelpSys
...@@ -388,11 +400,11 @@ setup( ...@@ -388,11 +400,11 @@ setup(
name='StructuredText', name='StructuredText',
author=AUTHOR, author=AUTHOR,
packages=['StructuredText', 'StructuredText.regressions', packages=['StructuredText', 'StructuredText.tests'],
'StructuredText.tests'],
data_files=[['StructuredText', ['StructuredText/*.txt']], data_files=[['StructuredText', ['StructuredText/*.txt']],
['StructuredText/regressions', ['StructuredText/regressions',
['StructuredText/regressions/*.ref', ['StructuredText/regressions/*.py',
'StructuredText/regressions/*.ref',
'StructuredText/regressions/*.stx']]], 'StructuredText/regressions/*.stx']]],
) )
...@@ -485,20 +497,13 @@ setup( ...@@ -485,20 +497,13 @@ setup(
['ZClasses/dtml', ['ZClasses/dtml/*']]], ['ZClasses/dtml', ['ZClasses/dtml/*']]],
) )
# ZLogger
setup(
name='ZLogger',
author=AUTHOR,
packages=['ZLogger']
)
# ZODB # ZODB
setup( setup(
name='ZODB', name='ZODB',
author=AUTHOR, author=AUTHOR,
packages=['Persistence', 'ZODB', 'ZODB.tests'], packages=['Persistence', 'ZODB', 'ZODB.tests'],
data_files=[['ZODB', ['ZODB/component.xml']]],
ext_modules=[ ext_modules=[
Extension(name='ZODB.cPersistence', Extension(name='ZODB.cPersistence',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS, include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
...@@ -540,7 +545,9 @@ setup( ...@@ -540,7 +545,9 @@ setup(
name='Zope', name='Zope',
author=AUTHOR, author=AUTHOR,
packages=['Zope', 'Zope.App'] packages=['Zope', 'Zope.App', 'Zope.Startup', 'Zope.Startup.misc',
'Zope.Startup.nt'],
data_files=[ ['Zope/Startup', ['Zope/Startup/*.xml']] ],
) )
# webdav # webdav
...@@ -567,6 +574,7 @@ setup( ...@@ -567,6 +574,7 @@ setup(
author=AUTHOR, author=AUTHOR,
packages=['zLOG', 'zLOG.tests'], packages=['zLOG', 'zLOG.tests'],
data_files=[['zLOG', ['zLOG/*.xml']]],
) )
# zdaemon # zdaemon
...@@ -575,6 +583,7 @@ setup( ...@@ -575,6 +583,7 @@ setup(
author=AUTHOR, author=AUTHOR,
packages=['zdaemon', 'zdaemon.tests'], packages=['zdaemon', 'zdaemon.tests'],
data_files=[['zdaemon', ['zdaemon/sample.conf', 'zdaemon/schema.xml']]],
) )
...@@ -602,7 +611,23 @@ setup( ...@@ -602,7 +611,23 @@ setup(
author=AUTHOR, author=AUTHOR,
packages=['ZEO', 'ZEO.tests', 'ZEO.zrpc'], packages=['ZEO', 'ZEO.tests', 'ZEO.zrpc'],
data_files=[['ZEO', ['ZEO/*.txt']]], data_files=[['ZEO', ['ZEO/*.txt', 'ZEO/component.xml']]],
)
# ZConfig
setup(
name='ZConfig',
author=AUTHOR,
packages=['ZConfig', 'ZConfig.tests'],
data_files=[
['../../doc/zconfig', ['ZConfig/doc/zconfig.pdf',
'ZConfig/doc/schema.dtd']],
['ZConfig/tests/input', ['ZConfig/tests/input/*']],
['ZConfig/tests/library/thing', ['ZConfig/tests/library/thing/*']],
['ZConfig/tests/library/widget', ['ZConfig/tests/library/widget/*']],
],
scripts=["ZConfig/scripts/zconfig"],
) )
# Other top-level packages (XXX should these be broken out at all?) # Other top-level packages (XXX should these be broken out at all?)
...@@ -610,8 +635,7 @@ setup( ...@@ -610,8 +635,7 @@ setup(
name='Top-level', name='Top-level',
author=AUTHOR, author=AUTHOR,
py_modules=['Globals', 'ImageFile', 'LOG', 'ts_regex', 'xmlrpclib', py_modules=['Globals', 'ImageFile', 'xmlrpclib', 'Lifetime']
'Lifetime']
) )
# Products base directory # Products base directory
...@@ -627,8 +651,7 @@ setup( ...@@ -627,8 +651,7 @@ setup(
name='ExternalMethod', name='ExternalMethod',
author=AUTHOR, author=AUTHOR,
packages=['Products.ExternalMethod', 'Products.ExternalMethod.tests', packages=['Products.ExternalMethod', 'Products.ExternalMethod.tests'],
'Products.ExternalMethod.tests.Extensions'],
data_files=[['Products/ExternalMethod', data_files=[['Products/ExternalMethod',
['Products/ExternalMethod/*.gif', ['Products/ExternalMethod/*.gif',
'Products/ExternalMethod/*.txt']], 'Products/ExternalMethod/*.txt']],
...@@ -636,6 +659,8 @@ setup( ...@@ -636,6 +659,8 @@ setup(
['Products/ExternalMethod/dtml/*']], ['Products/ExternalMethod/dtml/*']],
['Products/ExternalMethod/help', ['Products/ExternalMethod/help',
['Products/ExternalMethod/help/*']], ['Products/ExternalMethod/help/*']],
['Products/ExternalMethod/tests/Extensions',
['Products/ExternalMethod/tests/Extensions/*.py']],
['Products/ExternalMethod/www', ['Products/ExternalMethod/www',
['Products/ExternalMethod/www/*']]], ['Products/ExternalMethod/www/*']]],
) )
...@@ -654,11 +679,11 @@ setup( ...@@ -654,11 +679,11 @@ setup(
name='MailHost', name='MailHost',
author=AUTHOR, author=AUTHOR,
packages=['Products.MailHost', 'Products.MailHost.help', packages=['Products.MailHost', 'Products.MailHost.tests'],
'Products.MailHost.tests'],
data_files=[['Products/MailHost', ['Products/MailHost/*.txt']], data_files=[['Products/MailHost', ['Products/MailHost/*.txt']],
['Products/MailHost/dtml', ['Products/MailHost/dtml/*']], ['Products/MailHost/dtml', ['Products/MailHost/dtml/*']],
['Products/MailHost/help', ['Products/MailHost/help/*.stx']], ['Products/MailHost/help', ['Products/MailHost/help/*.py',
'Products/MailHost/help/*.stx']],
['Products/MailHost/www', ['Products/MailHost/www/*']]], ['Products/MailHost/www', ['Products/MailHost/www/*']]],
) )
...@@ -667,10 +692,11 @@ setup( ...@@ -667,10 +692,11 @@ setup(
name='OFSP', name='OFSP',
author=AUTHOR, author=AUTHOR,
packages=['Products.OFSP', 'Products.OFSP.help'], packages=['Products.OFSP'],
data_files=[['Products/OFSP', ['Products/OFSP/*.txt']], data_files=[['Products/OFSP', ['Products/OFSP/*.txt']],
['Products/OFSP/dtml', ['Products/OFSP/dtml/*']], ['Products/OFSP/dtml', ['Products/OFSP/dtml/*']],
['Products/OFSP/help', ['Products/OFSP/help/*.stx']], ['Products/OFSP/help', ['Products/OFSP/help/*.py',
'Products/OFSP/help/*.stx']],
['Products/OFSP/images', ['Products/OFSP/images/*']]], ['Products/OFSP/images', ['Products/OFSP/images/*']]],
) )
...@@ -679,13 +705,14 @@ setup( ...@@ -679,13 +705,14 @@ setup(
name='PageTemplates', name='PageTemplates',
author=AUTHOR, author=AUTHOR,
packages=['Products.PageTemplates', 'Products.PageTemplates.help', packages=['Products.PageTemplates', 'Products.PageTemplates.tests'],
'Products.PageTemplates.tests'],
data_files=[['Products/PageTemplates', ['Products/PageTemplates/*.txt']], data_files=[['Products/PageTemplates', ['Products/PageTemplates/*.txt']],
['Products/PageTemplates/examples', ['Products/PageTemplates/examples',
['Products/PageTemplates/examples/*']], ['Products/PageTemplates/examples/*']],
['Products/PageTemplates/help', ['Products/PageTemplates/help',
['Products/PageTemplates/help/*.stx']], ['Products/PageTemplates/help/*.py',
'Products/PageTemplates/help/*.stx']],
['Products/PageTemplates/tests/input', ['Products/PageTemplates/tests/input',
['Products/PageTemplates/tests/input/*']], ['Products/PageTemplates/tests/input/*']],
['Products/PageTemplates/tests/output', ['Products/PageTemplates/tests/output',
...@@ -765,7 +792,7 @@ setup( ...@@ -765,7 +792,7 @@ setup(
Extension(name='Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Splitter', Extension(name='Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Splitter',
sources=['Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c']), sources=['Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c']),
Extension(name='Products.PluginIndexes.TextIndex.Splitter.UnicodeSplitter.UnicodeSplitter', Extension(name='Products.PluginIndexes.TextIndex.Splitter.UnicodeSplitter.UnicodeSplitter',
sources=['Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/src/UnicodeSplitter.c'])] sources=['Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/src/UnicodeSplitter.c'])],
) )
# PythonScripts product # PythonScripts product
...@@ -773,12 +800,13 @@ setup( ...@@ -773,12 +800,13 @@ setup(
name='PythonScripts', name='PythonScripts',
author=AUTHOR, author=AUTHOR,
packages=['Products.PythonScripts', 'Products.PythonScripts.Extensions', packages=['Products.PythonScripts', 'Products.PythonScripts.tests'],
'Products.PythonScripts.help', 'Products.PythonScripts.tests'],
data_files=[['Products/PythonScripts', ['Products/PythonScripts/*.txt']], data_files=[['Products/PythonScripts', ['Products/PythonScripts/*.txt']],
['Products/PythonScripts/Extensions',
['Products/PythonScripts/Extensions/*.py']],
['Products/PythonScripts/help', ['Products/PythonScripts/help',
['Products/PythonScripts/help/*.stx']], ['Products/PythonScripts/help/*.py',
'Products/PythonScripts/help/*.stx']],
['Products/PythonScripts/tests/tscripts', ['Products/PythonScripts/tests/tscripts',
['Products/PythonScripts/tests/tscripts/*']], ['Products/PythonScripts/tests/tscripts/*']],
['Products/PythonScripts/www', ['Products/PythonScripts/www',
...@@ -790,10 +818,12 @@ setup( ...@@ -790,10 +818,12 @@ setup(
name='Sessions', name='Sessions',
author=AUTHOR, author=AUTHOR,
packages=['Products.Sessions', 'Products.Sessions.help', packages=['Products.Sessions', 'Products.Sessions.tests'],
'Products.Sessions.tests', 'Products.Sessions.stresstests'], data_files=[['Products/Sessions/help', ['Products/Sessions/help/*.py',
data_files=[['Products/Sessions/help', ['Products/Sessions/help/*.stx']], 'Products/Sessions/help/*.stx']],
['Products/Sessions/dtml', ['Products/Sessions/dtml/*']], ['Products/Sessions/dtml', ['Products/Sessions/dtml/*']],
['Products/Sessions/stresstests',
['Products/Sessions/stresstests/*.py']],
['Products/Sessions/www', ['Products/Sessions/www/*']]], ['Products/Sessions/www', ['Products/Sessions/www/*']]],
) )
...@@ -802,9 +832,11 @@ setup( ...@@ -802,9 +832,11 @@ setup(
name='SiteAccess', name='SiteAccess',
author=AUTHOR, author=AUTHOR,
packages=['Products.SiteAccess', 'Products.SiteAccess.Extensions'], packages=['Products.SiteAccess'],
data_files=[['Products/SiteAccess', ['Products/SiteAccess/*.txt']], data_files=[['Products/SiteAccess', ['Products/SiteAccess/*.txt']],
['Products/SiteAccess/doc', ['Products/SiteAccess/doc/*']], ['Products/SiteAccess/doc', ['Products/SiteAccess/doc/*']],
['Products/SiteAccess/Extensions',
['Products/SiteAccess/Extensions/*.py']],
['Products/SiteAccess/help', ['Products/SiteAccess/help/*']], ['Products/SiteAccess/help', ['Products/SiteAccess/help/*']],
['Products/SiteAccess/www', ['Products/SiteAccess/www/*']]], ['Products/SiteAccess/www', ['Products/SiteAccess/www/*']]],
) )
...@@ -853,12 +885,12 @@ setup( ...@@ -853,12 +885,12 @@ setup(
name='Transience', name='Transience',
author=AUTHOR, author=AUTHOR,
packages=['Products.Transience', 'Products.Transience.help', packages=['Products.Transience', 'Products.Transience.tests'],
'Products.Transience.tests'],
data_files=[['Products/Transience', ['Products/Transience/*.stx']], data_files=[['Products/Transience', ['Products/Transience/*.stx']],
['Products/Transience/dtml', ['Products/Transience/dtml/*']], ['Products/Transience/dtml', ['Products/Transience/dtml/*']],
['Products/Transience/help', ['Products/Transience/help',
['Products/Transience/help/*.stx']], ['Products/Transience/help/*.py',
'Products/Transience/help/*.stx']],
['Products/Transience/www', ['Products/Transience/www/*']]], ['Products/Transience/www', ['Products/Transience/www/*']]],
) )
...@@ -867,12 +899,14 @@ setup( ...@@ -867,12 +899,14 @@ setup(
name='ZCatalog', name='ZCatalog',
author=AUTHOR, author=AUTHOR,
packages=['Products.ZCatalog', 'Products.ZCatalog.help', packages=['Products.ZCatalog', 'Products.ZCatalog.tests'],
'Products.ZCatalog.regressiontests', 'Products.ZCatalog.tests'], data_files=[['Products/ZCatalog',
data_files=[['Products/ZCatalog', ['Products/ZCatalog/*.gif', ['Products/ZCatalog/*.gif', 'Products/ZCatalog/*.txt']],
'Products/ZCatalog/*.txt']], ['Products/ZCatalog/regressiontests',
['Products/ZCatalog/regressiontests/*.py']],
['Products/ZCatalog/dtml', ['Products/ZCatalog/dtml/*']], ['Products/ZCatalog/dtml', ['Products/ZCatalog/dtml/*']],
['Products/ZCatalog/help', ['Products/ZCatalog/help/*.stx']], ['Products/ZCatalog/help', ['Products/ZCatalog/help/*.stx',
'Products/ZCatalog/help/*.py']],
['Products/ZCatalog/www', ['Products/ZCatalog/www/*']]], ['Products/ZCatalog/www', ['Products/ZCatalog/www/*']]],
) )
...@@ -915,12 +949,13 @@ setup( ...@@ -915,12 +949,13 @@ setup(
name='ZSQLMethods', name='ZSQLMethods',
author=AUTHOR, author=AUTHOR,
packages=['Products.ZSQLMethods', 'Products.ZSQLMethods.help'], packages=['Products.ZSQLMethods'],
data_files=[['Products/ZSQLMethods', ['Products/ZSQLMethods/*.txt', data_files=[['Products/ZSQLMethods', ['Products/ZSQLMethods/*.txt',
'Products/ZSQLMethods/*.gif']], 'Products/ZSQLMethods/*.gif']],
['Products/ZSQLMethods/dtml', ['Products/ZSQLMethods/dtml/*']], ['Products/ZSQLMethods/dtml', ['Products/ZSQLMethods/dtml/*']],
['Products/ZSQLMethods/help', ['Products/ZSQLMethods/help',
['Products/ZSQLMethods/help/*.stx']]], ['Products/ZSQLMethods/help/*.stx',
'Products/ZSQLMethods/help/*.py']]],
) )
# ZopeTutorial product # ZopeTutorial product
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment