[Checkins] SVN: z3c.relationfield/trunk/ move test dependencies to extra
David Glick
davidglick at onenw.org
Sat May 21 20:02:36 EDT 2011
Log message for revision 121769:
move test dependencies to extra
Changed:
U z3c.relationfield/trunk/buildout.cfg
U z3c.relationfield/trunk/setup.py
-=-
Modified: z3c.relationfield/trunk/buildout.cfg
===================================================================
--- z3c.relationfield/trunk/buildout.cfg 2011-05-20 17:06:29 UTC (rev 121768)
+++ z3c.relationfield/trunk/buildout.cfg 2011-05-22 00:02:36 UTC (rev 121769)
@@ -13,5 +13,5 @@
[test]
recipe = zc.recipe.testrunner
-eggs = z3c.relationfield [xml]
+eggs = z3c.relationfield [test,xml]
defaults = ['--tests-pattern', '^f?tests$', '-v']
Modified: z3c.relationfield/trunk/setup.py
===================================================================
--- z3c.relationfield/trunk/setup.py 2011-05-20 17:06:29 UTC (rev 121768)
+++ z3c.relationfield/trunk/setup.py 2011-05-22 00:02:36 UTC (rev 121769)
@@ -1,5 +1,5 @@
from setuptools import setup, find_packages
-import sys, os
+import os
def read(*rnames):
return open(os.path.join(*rnames)).read()
@@ -36,13 +36,14 @@
'zope.app.container',
'z3c.objpath',
'zc.relation >= 1.0',
- # for tests
- 'zope.app.zcmlfiles',
- 'zope.app.testing',
- 'zope.app.keyreference',
- 'zope.securitypolicy',
],
extras_require = {
+ 'test': [
+ 'zope.app.zcmlfiles',
+ 'zope.app.testing',
+ 'zope.app.keyreference',
+ 'zope.securitypolicy',
+ ],
'xml': ['z3c.schema2xml >= 1.0',
'lxml'],
},
More information about the checkins
mailing list