[Zope3-checkins] SVN: zope.formlib/trunk/ Improve package metadata
using README.txt, changes.txt and various txt files
Philipp von Weitershausen
philikon at philikon.de
Fri Sep 28 08:11:53 EDT 2007
Log message for revision 80316:
Improve package metadata using README.txt, changes.txt and various txt files
from the zope.formlib package
Don't use extras_requires, inline testing dependencies
Prepare 3.4.0 release
Changed:
U zope.formlib/trunk/buildout.cfg
U zope.formlib/trunk/setup.py
-=-
Modified: zope.formlib/trunk/buildout.cfg
===================================================================
--- zope.formlib/trunk/buildout.cfg 2007-09-28 12:11:08 UTC (rev 80315)
+++ zope.formlib/trunk/buildout.cfg 2007-09-28 12:11:52 UTC (rev 80316)
@@ -5,4 +5,4 @@
[test]
recipe = zc.recipe.testrunner
-eggs = zope.formlib [test]
+eggs = zope.formlib
Modified: zope.formlib/trunk/setup.py
===================================================================
--- zope.formlib/trunk/setup.py 2007-09-28 12:11:08 UTC (rev 80315)
+++ zope.formlib/trunk/setup.py 2007-09-28 12:11:52 UTC (rev 80316)
@@ -15,27 +15,32 @@
$Id$
"""
-
import os
-
from setuptools import setup, find_packages
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
setup(name='zope.formlib',
- version = '3.4.0b1',
- url='http://svn.zope.org/zope.formlib',
+ version = '3.4.0',
+ url='http://pypi.python.org/pypi/zope.formlib',
license='ZPL 2.1',
- description='Zope formlib',
+ description='Form generation and validation library for Zope',
author='Zope Corporation and Contributors',
author_email='zope3-dev at zope.org',
- long_description="Forms are web components that use widgets"
- "to display and input data. Typically a template"
- "displays the widgets by accessing an attribute or"
- "method on an underlying class.",
+ long_description=(read('README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ + '\n\n' +
+ read('src', 'zope', 'formlib', 'form.txt')
+ + '\n\n' +
+ read('src', 'zope', 'formlib', 'errors.txt')
+ + '\n\n' +
+ read('src', 'zope', 'formlib', 'namedtemplate.txt')
+ ),
packages=find_packages('src'),
package_dir = {'': 'src'},
- extras_require=dict(test=['zope.app.testing',
- 'zope.app.zcmlfiles']),
namespace_packages=['zope',],
install_requires=['setuptools',
'pytz',
@@ -52,7 +57,10 @@
'zope.publisher',
'zope.schema',
'zope.security',
- 'zope.traversing'
+ 'zope.traversing',
+ # testing requirements:
+ 'zope.app.testing',
+ 'zope.app.zcmlfiles',
],
include_package_data = True,
zip_safe = False,
More information about the Zope3-Checkins
mailing list