[Checkins] SVN: z3c.ptcompat/trunk/ Avoid zope.testing dependency, add the test extra back.

Gediminas Paulauskas menesis at pov.lt
Thu Jan 5 16:29:53 UTC 2012


Log message for revision 123958:
  Avoid zope.testing dependency, add the test extra back.
  

Changed:
  U   z3c.ptcompat/trunk/CHANGES.txt
  U   z3c.ptcompat/trunk/buildout.cfg
  U   z3c.ptcompat/trunk/setup.py

-=-
Modified: z3c.ptcompat/trunk/CHANGES.txt
===================================================================
--- z3c.ptcompat/trunk/CHANGES.txt	2012-01-05 14:55:07 UTC (rev 123957)
+++ z3c.ptcompat/trunk/CHANGES.txt	2012-01-05 16:29:52 UTC (rev 123958)
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+1.0.1 (unreleased)
+------------------
+
+- Avoid direct ``zope.testing`` dependency, add undeclared dependencies.
+
+
 1.0 (2011-10-10)
 ----------------
 

Modified: z3c.ptcompat/trunk/buildout.cfg
===================================================================
--- z3c.ptcompat/trunk/buildout.cfg	2012-01-05 14:55:07 UTC (rev 123957)
+++ z3c.ptcompat/trunk/buildout.cfg	2012-01-05 16:29:52 UTC (rev 123958)
@@ -9,5 +9,5 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = z3c.ptcompat
+eggs = z3c.ptcompat [test]
 

Modified: z3c.ptcompat/trunk/setup.py
===================================================================
--- z3c.ptcompat/trunk/setup.py	2012-01-05 14:55:07 UTC (rev 123957)
+++ z3c.ptcompat/trunk/setup.py	2012-01-05 16:29:52 UTC (rev 123958)
@@ -7,9 +7,11 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 
-version = '1.0'
+version = '1.0.1dev'
 
 tests_require = [
+    'zope.component [test]',
+    'zope.configuration',
     ],
 
 
@@ -42,8 +44,12 @@
       install_requires=[
           'setuptools',
           'z3c.pt >= 2.1',
-          'zope.testing',
           'zope.pagetemplate >= 3.6.2',
+          'zope.traversing',
           ],
-      # test_suite="z3c.ptcompat.tests.test_doctests.test_suite",
+      extras_require=dict(
+          test=tests_require,
+      ),
+      tests_require=tests_require,
+      test_suite="z3c.ptcompat",
       )



More information about the checkins mailing list