[Zope-Checkins] SVN: Zope/trunk/setup.py moved setup parameters into a dict in order to prepare experiements with
Andreas Jung
andreas at andreas-jung.com
Sun Apr 5 03:38:44 EDT 2009
Log message for revision 98866:
moved setup parameters into a dict in order to prepare experiements with
a Zope 2 meta-egg
Changed:
U Zope/trunk/setup.py
-=-
Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py 2009-04-05 04:38:27 UTC (rev 98865)
+++ Zope/trunk/setup.py 2009-04-05 07:38:44 UTC (rev 98866)
@@ -18,149 +18,151 @@
EXTENSIONCLASS_INCLUDEDIRS = ['include', 'src']
-setup(name='Zope2',
- version = '2.12.0.a1',
- url='http://www.zope.org',
- license='ZPL 2.1',
- description='Zope2 application server / web framework',
- author='Zope Corporation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=file("README.txt").read() + "\n" +
- file(os.path.join("doc", "CHANGES.rst")).read(),
+params = dict(name='Zope2',
+ version='2.12.0.a1',
+ url='http://www.zope.org',
+ license='ZPL 2.1',
+ description='Zope2 application server / web framework',
+ author='Zope Corporation and Contributors',
+ author_email='zope-dev at zope.org',
+ long_description=file("README.txt").read() + "\n" +
+ file(os.path.join("doc", "CHANGES.rst")).read(),
- packages=find_packages('src'),
- package_dir={'': 'src'},
+ packages=find_packages('src'),
+ package_dir={'': 'src'},
- ext_modules=[
+ ext_modules=[
- # AccessControl
- Extension(
- name='AccessControl.cAccessControl',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=['src/AccessControl/cAccessControl.c'],
- depends=['include/ExtensionClass/ExtensionClass.h',
- 'include/ExtensionClass/pickle/pickle.c',
- 'include/Acquisition/Acquisition.h']),
+ # AccessControl
+ Extension(
+ name='AccessControl.cAccessControl',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=['src/AccessControl/cAccessControl.c'],
+ depends=['include/ExtensionClass/ExtensionClass.h',
+ 'include/ExtensionClass/pickle/pickle.c',
+ 'include/Acquisition/Acquisition.h']),
- # DocumentTemplate
- Extension(
- name='DocumentTemplate.cDocumentTemplate',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=['src/DocumentTemplate/cDocumentTemplate.c']),
+ # DocumentTemplate
+ Extension(
+ name='DocumentTemplate.cDocumentTemplate',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=['src/DocumentTemplate/cDocumentTemplate.c']),
- Extension(
- name='MultiMapping._MultiMapping',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=["src/MultiMapping/_MultiMapping.c"],
- depends=["include/ExtensionClass/ExtensionClass.h"]),
- Extension(
- name='ThreadLock._ThreadLock',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=["src/ThreadLock/_ThreadLock.c"],
- depends=["include/ExtensionClass/ExtensionClass.h"]),
- Extension(
- name='Missing._Missing',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=["src/Missing/_Missing.c"],
- depends=["include/ExtensionClass/ExtensionClass.h"]),
- Extension(
- name='Record._Record',
- include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
- sources=["src/Record/_Record.c"],
- depends=["include/ExtensionClass/ExtensionClass.h"]),
+ Extension(
+ name='MultiMapping._MultiMapping',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=["src/MultiMapping/_MultiMapping.c"],
+ depends=["include/ExtensionClass/ExtensionClass.h"]),
+ Extension(
+ name='ThreadLock._ThreadLock',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=["src/ThreadLock/_ThreadLock.c"],
+ depends=["include/ExtensionClass/ExtensionClass.h"]),
+ Extension(
+ name='Missing._Missing',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=["src/Missing/_Missing.c"],
+ depends=["include/ExtensionClass/ExtensionClass.h"]),
+ Extension(
+ name='Record._Record',
+ include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
+ sources=["src/Record/_Record.c"],
+ depends=["include/ExtensionClass/ExtensionClass.h"]),
- # initgroups
- Extension(
- name='initgroups._initgroups',
- sources=['src/initgroups/_initgroups.c']),
+ # initgroups
+ Extension(
+ name='initgroups._initgroups',
+ sources=['src/initgroups/_initgroups.c']),
- # indexes
- Extension(
- name='Products.PluginIndexes.TextIndex.Splitter.'
- 'ZopeSplitter.ZopeSplitter',
- sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
- 'ZopeSplitter/src/ZopeSplitter.c']),
- Extension(
- name='Products.PluginIndexes.TextIndex.Splitter.'
- 'ISO_8859_1_Splitter.ISO_8859_1_Splitter',
- sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
- 'ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c']),
- Extension(
- name='Products.PluginIndexes.TextIndex.Splitter.'
- 'UnicodeSplitter.UnicodeSplitter',
- sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
- 'UnicodeSplitter/src/UnicodeSplitter.c']),
- Extension(
- name='Products.ZCTextIndex.stopper',
- sources=['src/Products/ZCTextIndex/stopper.c']),
- Extension(
- name='Products.ZCTextIndex.okascore',
- sources=['src/Products/ZCTextIndex/okascore.c']),
+ # indexes
+ Extension(
+ name='Products.PluginIndexes.TextIndex.Splitter.'
+ 'ZopeSplitter.ZopeSplitter',
+ sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
+ 'ZopeSplitter/src/ZopeSplitter.c']),
+ Extension(
+ name='Products.PluginIndexes.TextIndex.Splitter.'
+ 'ISO_8859_1_Splitter.ISO_8859_1_Splitter',
+ sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
+ 'ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c']),
+ Extension(
+ name='Products.PluginIndexes.TextIndex.Splitter.'
+ 'UnicodeSplitter.UnicodeSplitter',
+ sources=['src/Products/PluginIndexes/TextIndex/Splitter/'
+ 'UnicodeSplitter/src/UnicodeSplitter.c']),
+ Extension(
+ name='Products.ZCTextIndex.stopper',
+ sources=['src/Products/ZCTextIndex/stopper.c']),
+ Extension(
+ name='Products.ZCTextIndex.okascore',
+ sources=['src/Products/ZCTextIndex/okascore.c']),
- ],
+ ],
- install_requires=[
- 'Acquisition',
- 'DateTime',
- 'docutils',
- 'ExtensionClass',
- 'Persistence',
- 'pytz',
- 'RestrictedPython',
- 'tempstorage',
- 'ZConfig',
- 'zLOG',
- 'zdaemon',
- 'ZODB3',
- 'zodbcode',
- 'zope.component',
- 'zope.configuration',
- 'zope.container',
- 'zope.contentprovider',
- 'zope.contenttype',
- 'zope.deferredimport',
- 'zope.event',
- 'zope.exceptions',
- 'zope.formlib',
- 'zope.i18n [zcml]',
- 'zope.i18nmessageid',
- 'zope.interface',
- 'zope.lifecycleevent',
- 'zope.location',
- 'zope.pagetemplate',
- 'zope.proxy',
- 'zope.publisher',
- 'zope.schema',
- 'zope.security',
- 'zope.sendmail',
- 'zope.sequencesort',
- 'zope.site',
- 'zope.size',
- 'zope.structuredtext',
- 'zope.tal',
- 'zope.tales',
- 'zope.testbrowser',
- 'zope.testing',
- 'zope.traversing',
- 'zope.viewlet',
- 'zope.app.component',
- 'zope.app.container',
- 'zope.app.form',
- 'zope.app.locales',
- 'zope.app.pagetemplate',
- 'zope.app.publication',
- 'zope.app.publisher',
- 'zope.app.schema',
- 'zope.app.testing',
- ],
+ install_requires=[
+ 'Acquisition',
+ 'DateTime',
+ 'docutils',
+ 'ExtensionClass',
+ 'Persistence',
+ 'pytz',
+ 'RestrictedPython',
+ 'tempstorage',
+ 'ZConfig',
+ 'zLOG',
+ 'zdaemon',
+ 'ZODB3',
+ 'zodbcode',
+ 'zope.component',
+ 'zope.configuration',
+ 'zope.container',
+ 'zope.contentprovider',
+ 'zope.contenttype',
+ 'zope.deferredimport',
+ 'zope.event',
+ 'zope.exceptions',
+ 'zope.formlib',
+ 'zope.i18n [zcml]',
+ 'zope.i18nmessageid',
+ 'zope.interface',
+ 'zope.lifecycleevent',
+ 'zope.location',
+ 'zope.pagetemplate',
+ 'zope.proxy',
+ 'zope.publisher',
+ 'zope.schema',
+ 'zope.security',
+ 'zope.sendmail',
+ 'zope.sequencesort',
+ 'zope.site',
+ 'zope.size',
+ 'zope.structuredtext',
+ 'zope.tal',
+ 'zope.tales',
+ 'zope.testbrowser',
+ 'zope.testing',
+ 'zope.traversing',
+ 'zope.viewlet',
+ 'zope.app.component',
+ 'zope.app.container',
+ 'zope.app.form',
+ 'zope.app.locales',
+ 'zope.app.pagetemplate',
+ 'zope.app.publication',
+ 'zope.app.publisher',
+ 'zope.app.schema',
+ 'zope.app.testing',
+ ],
- include_package_data=True,
- zip_safe=False,
- entry_points={
- 'console_scripts' : [
- 'mkzeoinstance=Zope2.utilities.mkzeoinstance:main',
- 'mkzopeinstance=Zope2.utilities.mkzopeinstance:main',
- 'zpasswd=Zope2.utilities.zpasswd:main',
- ]
- },
- )
+ include_package_data=True,
+ zip_safe=False,
+ entry_points={
+ 'console_scripts' : [
+ 'mkzeoinstance=Zope2.utilities.mkzeoinstance:main',
+ 'mkzopeinstance=Zope2.utilities.mkzopeinstance:main',
+ 'zpasswd=Zope2.utilities.zpasswd:main',
+ ]
+ },
+)
+
+setup(**params)
More information about the Zope-Checkins
mailing list