SVN: zope.formlib/trunk/ Test dependencies are declared in a `test` extra now.

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <20081114215023.1182D9402D__13427.4662625559$1226699562$gmane$org@cvs.zope.org>
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,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.