[Checkins] SVN: ldappas/trunk/ * we can use buildout 1.5 now, so no more version locking

Martijn Faassen faassen at startifact.com
Tue Jan 25 11:22:05 EST 2011


Log message for revision 119908:
  * we can use buildout 1.5 now, so no more version locking
  
  * want to get rid of zope.app.testing dependency, but making it at
    least an explicit testing dependency helps consumers of this library.
  

Changed:
  U   ldappas/trunk/buildout.cfg
  U   ldappas/trunk/setup.py

-=-
Modified: ldappas/trunk/buildout.cfg
===================================================================
--- ldappas/trunk/buildout.cfg	2011-01-25 10:13:54 UTC (rev 119907)
+++ ldappas/trunk/buildout.cfg	2011-01-25 16:22:04 UTC (rev 119908)
@@ -4,20 +4,12 @@
         test
 versions = versions
 
-# all this is to pin buildout to 1.4.3, as zc.recipe.cmmi is not yet updated
-# to work with buildout 1.5.
-# run bootstrap.py with -v 1.4.3 too
-# once zc.recipe.cmmi is updated to support buildout 1.5, this
 # versions section can be removed
 [versions]
-zc.buildout = 1.4.3
-zc.recipe.egg = 1.2.2
-zc.recipe.scripts = 1.0.0
-zc.recipe.testrunner = 1.3.0
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = ldappas
+eggs = ldappas [test]
 
 [openldap]
 recipe = zc.recipe.cmmi

Modified: ldappas/trunk/setup.py
===================================================================
--- ldappas/trunk/setup.py	2011-01-25 10:13:54 UTC (rev 119907)
+++ ldappas/trunk/setup.py	2011-01-25 16:22:04 UTC (rev 119908)
@@ -1,5 +1,9 @@
 from setuptools import setup, find_packages
 
+tests_require = [
+    'zope.app.testing',
+    ]
+
 setup(
     name='ldappas',
     version='0.7.1dev',
@@ -28,4 +32,6 @@
         'zope.schema',
         'zope.app.testing',
     ],
+    tests_require=tests_require,
+    extras_require={'test': tests_require},
     )



More information about the checkins mailing list