Commit f20f73d2 authored by Hanno Schlichting's avatar Hanno Schlichting

Cleaned up setup.py extension build info

parent af2df247
......@@ -15,9 +15,7 @@
import os
from setuptools import setup, find_packages, Extension
EXTENSIONCLASS_INCLUDEDIRS = ['include', 'src']
params = dict(name='Zope2',
setup(name='Zope2',
version='2.12.6dev',
url='http://www.zope.org',
license='ZPL 2.1',
......@@ -36,17 +34,17 @@ params = dict(name='Zope2',
# AccessControl
Extension(
name='AccessControl.cAccessControl',
include_dirs=EXTENSIONCLASS_INCLUDEDIRS,
include_dirs=['include', 'src'],
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']),
include_dirs=['include', 'src'],
sources=['src/DocumentTemplate/cDocumentTemplate.c'],
depends=['include/ExtensionClass/ExtensionClass.h']),
# indexes
Extension(
......@@ -118,14 +116,12 @@ params = dict(name='Zope2',
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts' : [
'console_scripts': [
'mkzeoinstance=Zope2.utilities.mkzeoinstance:main',
'mkzopeinstance=Zope2.utilities.mkzopeinstance:main',
'runzope=Zope2.Startup.run:run',
'zopectl=Zope2.Startup.zopectl:run',
'zpasswd=Zope2.utilities.zpasswd:main',
]
],
},
)
setup(**params)
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