[Checkins] SVN: Products.GenericSetup/trunk/setup.py - setup.py cleanup
Jens Vagelpohl
jens at dataflake.org
Mon Aug 25 12:50:21 EDT 2008
Log message for revision 90231:
- setup.py cleanup
- change author email to use the canonical list address
Changed:
U Products.GenericSetup/trunk/setup.py
-=-
Modified: Products.GenericSetup/trunk/setup.py
===================================================================
--- Products.GenericSetup/trunk/setup.py 2008-08-25 16:49:22 UTC (rev 90230)
+++ Products.GenericSetup/trunk/setup.py 2008-08-25 16:50:20 UTC (rev 90231)
@@ -11,20 +11,16 @@
NAME = 'GenericSetup'
-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'
+_boundary = '\n' + ('-' * 60) + '\n\n'
README = ( _package_doc('README.txt')
- + _boundary + _package_doc('CHANGES.txt')
- + _boundary + "\nDownload\n========"
+ + _boundary
+ + _package_doc('CHANGES.txt')
+ + _boundary
+ + "\nDownload\n========"
)
setup(name='Products.GenericSetup',
- version=VERSION,
+ version=_package_doc('version.txt').strip(),
description='Read Zope configuration state from profile dirs / tarballs',
long_description=README,
classifiers=[
@@ -40,7 +36,7 @@
],
keywords='web application server zope zope2 cmf',
author="Zope Corporation and contributors",
- author_email="zope-cmf at lists.zope.org",
+ author_email="zope-cmf at zope.org",
url="http://pypi.python.org/pypi/Products.GenericSetup",
license="ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)",
packages=find_packages(),
More information about the Checkins
mailing list