Commit 7229df97 authored by Jens Vagelpohl's avatar Jens Vagelpohl

- no need for the version.txt processing, we only use clean version numbers

- change author email to the canonical list address
- change homepage to package's PyPI page
- change long_description so it contains useful information
- flesh out installation requirements
parent d50f3757
......@@ -11,19 +11,16 @@ def _package_doc(name):
f = open(os.path.join(package, name))
return f.read()
VERSION = _package_doc('version.txt').strip()
if VERSION.startswith(NAME):
VERSION = VERSION[len(NAME):]
while VERSION and VERSION[0] in '-_.':
VERSION = VERSION[1:]
_boundary = '\n' + ('-' * 60) + '\n'
README = (open(os.path.join(here, 'README.txt')).read()
+ _boundary + _package_doc('README.txt')
_boundary = '\n' + ('-' * 60) + '\n\n'
README = ( _package_doc('README.txt')
+ _boundary
+ _package_doc('CHANGES.txt')
+ _boundary
+ "Download\n========"
)
setup(name='Products.%s' % NAME,
version=VERSION,
version=_package_doc('version.txt').strip(),
description='DCWorkflow product for the Zope Content Management Framework',
long_description=README,
classifiers=[
......@@ -38,15 +35,18 @@ setup(name='Products.%s' % NAME,
],
keywords='web application server zope zope2 cmf',
author="Zope Corporation and contributors",
author_email="zope-cmf@lists.zope.org",
url="http://www.zope.org/Products/CMF",
author_email="zope-cmf@zope.org",
url="http://pypi.python.org/pypi/Products.DCWorkflow",
license="ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)",
packages=find_packages(),
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
install_requires=[
#'Zope >= 2.10.4',
'setuptools',
'Products.CMFCore',
'Products.GenericSetup',
],
entry_points="""
[zope2.initialize]
......
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