[Checkins] SVN: zc.set/trunk/ - Added test extra to declare test dependency on ``zope.testing``.

Michael Howitz mh at gocept.com
Thu Apr 14 02:51:38 EDT 2011


Log message for revision 121426:
  - Added test extra to declare test dependency on ``zope.testing``.
  - Added change log to tell that the packackes seems not to be compatible with Python 2.6+
  

Changed:
  A   zc.set/trunk/CHANGES.txt
  U   zc.set/trunk/buildout.cfg
  U   zc.set/trunk/setup.py

-=-
Added: zc.set/trunk/CHANGES.txt
===================================================================
--- zc.set/trunk/CHANGES.txt	                        (rev 0)
+++ zc.set/trunk/CHANGES.txt	2011-04-14 06:51:38 UTC (rev 121426)
@@ -0,0 +1,16 @@
+======
+Issues
+======
+
+* Tests fail on Python 2.6+.
+
+=======
+Changes
+=======
+
+0.1 (unreleased)
+================
+
+* ...
+
+


Property changes on: zc.set/trunk/CHANGES.txt
___________________________________________________________________
Added: svn:keywords
   + Id Rev Date
Added: svn:eol-style
   + native

Modified: zc.set/trunk/buildout.cfg
===================================================================
--- zc.set/trunk/buildout.cfg	2011-04-14 06:42:41 UTC (rev 121425)
+++ zc.set/trunk/buildout.cfg	2011-04-14 06:51:38 UTC (rev 121426)
@@ -5,5 +5,5 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = zc.set
+eggs = zc.set [test]
 defaults = "--tests-pattern [fn]?tests --exit-with-status".split()

Modified: zc.set/trunk/setup.py
===================================================================
--- zc.set/trunk/setup.py	2011-04-14 06:42:41 UTC (rev 121425)
+++ zc.set/trunk/setup.py	2011-04-14 06:51:38 UTC (rev 121426)
@@ -1,9 +1,19 @@
 from setuptools import setup, find_packages
+import os.path
 
+def read(path):
+    return open(
+        os.path.join(os.path.dirname(__file__), *path.split('/'))).read()
+
+
 setup(
     name="zc.set",
     version="0.1dev",
     license='ZPL 2.1',
+    long_description='\n\n'.join([
+        read('CHANGES.txt'),
+        read('src/zc/set/README.txt'),
+        ]),
     packages=find_packages('src'),
     package_dir={'':'src'},
     namespace_packages=['zc'],
@@ -13,5 +23,9 @@
         'ZODB3',
         'zope.app.folder',
     ],
+    extras_require=dict(
+        test=[
+            'zope.testing',
+            ]),
     zip_safe=False
     )



More information about the checkins mailing list