[Zope3-checkins] SVN: zope.formlib/trunk/ Test dependencies are declared in a `test` extra now.
Hanno Schlichting
plone at hannosch.info
Fri Nov 14 16:50:23 EST 2008
Log message for revision 92944:
Test dependencies are declared in a `test` extra now.
Changed:
U zope.formlib/trunk/CHANGES.txt
U zope.formlib/trunk/buildout.cfg
U zope.formlib/trunk/setup.py
-=-
Modified: zope.formlib/trunk/CHANGES.txt
===================================================================
--- zope.formlib/trunk/CHANGES.txt 2008-11-14 21:32:41 UTC (rev 92943)
+++ zope.formlib/trunk/CHANGES.txt 2008-11-14 21:50:22 UTC (rev 92944)
@@ -8,6 +8,8 @@
New Features
------------
+- Test dependencies are declared in a `test` extra now.
+
- Introduced ``zope.formlib.form.applyData`` which works like
``applyChanges`` but returns a dictionary with information about
which attribute of which schema changed. This information is then
Modified: zope.formlib/trunk/buildout.cfg
===================================================================
--- zope.formlib/trunk/buildout.cfg 2008-11-14 21:32:41 UTC (rev 92943)
+++ zope.formlib/trunk/buildout.cfg 2008-11-14 21:50:22 UTC (rev 92944)
@@ -1,8 +1,12 @@
[buildout]
develop = .
-parts = test
-find-links = http://download.zope.org/distribution/
+parts = test python
[test]
recipe = zc.recipe.testrunner
+eggs = zope.formlib [test]
+
+[python]
+recipe = zc.recipe.egg
eggs = zope.formlib
+interpreter = python
Modified: zope.formlib/trunk/setup.py
===================================================================
--- zope.formlib/trunk/setup.py 2008-11-14 21:32:41 UTC (rev 92943)
+++ zope.formlib/trunk/setup.py 2008-11-14 21:50:22 UTC (rev 92944)
@@ -42,6 +42,9 @@
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['zope',],
+ extras_require=dict(
+ test=['zope.app.testing', 'zope.app.zcmlfiles']
+ ),
install_requires=['setuptools',
'pytz',
'zope.app.container',
@@ -58,9 +61,6 @@
'zope.schema',
'zope.security',
'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