[Checkins] SVN: zc.form/trunk/ Moved test dependencies to `test` extra.
Michael Howitz
mh at gocept.com
Fri Sep 23 03:41:03 EST 2011
Log message for revision 122903:
Moved test dependencies to `test` extra.
Changed:
U zc.form/trunk/CHANGES.txt
U zc.form/trunk/buildout.cfg
U zc.form/trunk/setup.py
-=-
Modified: zc.form/trunk/CHANGES.txt
===================================================================
--- zc.form/trunk/CHANGES.txt 2011-09-23 08:34:20 UTC (rev 122902)
+++ zc.form/trunk/CHANGES.txt 2011-09-23 08:41:02 UTC (rev 122903)
@@ -18,7 +18,6 @@
- Depending on ``zope.app.wsgi`` >=3.7 instead of ``zope.app.testing`` for
test setup.
-
- Depending on ``zope.browserpage`` and ``zope.container`` instead of
``zope.app.publisher``.
@@ -31,7 +30,9 @@
- Fixed tests to run with ``zope.schema`` >= 3.6.
-- Using Python's ``doctest`` module instead of depreacted
+- Moved test dependencies to `test` extra.
+
+- Using Python's ``doctest`` module instead of deprecated
``zope.testing.doctest``.
Modified: zc.form/trunk/buildout.cfg
===================================================================
--- zc.form/trunk/buildout.cfg 2011-09-23 08:34:20 UTC (rev 122902)
+++ zc.form/trunk/buildout.cfg 2011-09-23 08:41:02 UTC (rev 122903)
@@ -1,9 +1,8 @@
[buildout]
parts = test
develop = .
-find-links = http://download.zope.org/distribution
[test]
recipe = zc.recipe.testrunner
-eggs = zc.form
+eggs = zc.form [test]
defaults = "--tests-pattern [fn]?tests --exit-with-status".split()
Modified: zc.form/trunk/setup.py
===================================================================
--- zc.form/trunk/setup.py 2011-09-23 08:34:20 UTC (rev 122902)
+++ zc.form/trunk/setup.py 2011-09-23 08:41:02 UTC (rev 122903)
@@ -23,34 +23,34 @@
read('src/zc/form/browser/exceptionviews.txt')]),
license="ZPL 2.1",
install_requires=[
+ 'ZODB3',
'pytz',
'setuptools',
'zc.resourcelibrary',
'zc.sourcefactory',
- 'ZODB3',
'zope.annotation',
- 'zope.app.principalannotation',
- 'zope.catalog',
'zope.app.pagetemplate',
'zope.cachedescriptors',
+ 'zope.catalog',
'zope.component >= 3.8',
'zope.exceptions',
'zope.formlib >= 4.0',
- 'zope.i18n',
- 'zope.i18nmessageid',
'zope.index',
'zope.interface',
'zope.publisher',
'zope.schema >= 3.6',
- # extras
'zope.security',
- 'zope.app.appsetup',
- 'zope.app.wsgi >= 3.7',
- 'zope.configuration',
- 'zope.testing',
- 'zope.traversing',
- 'zope.browserpage',
- 'zope.container',
],
+ extras_require=dict(
+ test=[
+ 'zope.app.appsetup',
+ 'zope.app.principalannotation',
+ 'zope.app.wsgi >= 3.7',
+ 'zope.browserpage',
+ 'zope.configuration',
+ 'zope.container',
+ 'zope.testing',
+ 'zope.traversing',
+ ]),
zip_safe=False
)
More information about the checkins
mailing list