[Checkins] SVN: z3c.coverage/trunk/ Specify supported Python versions in setup.py.

Marius Gedminas cvs-admin at zope.org
Wed Sep 5 13:02:05 UTC 2012


Log message for revision 127713:
  Specify supported Python versions in setup.py.
  
  Add a tox.ini so that I can verify that the supported Python versions
  are actually supported.
  
  NB: http://pypi.python.org/pypi/detox is awesome.

Changed:
  U   z3c.coverage/trunk/setup.py
  A   z3c.coverage/trunk/tox.ini

-=-
Modified: z3c.coverage/trunk/setup.py
===================================================================
--- z3c.coverage/trunk/setup.py	2012-09-05 13:01:56 UTC (rev 127712)
+++ z3c.coverage/trunk/setup.py	2012-09-05 13:02:01 UTC (rev 127713)
@@ -47,10 +47,16 @@
         'Intended Audience :: Developers',
         'License :: OSI Approved :: Zope Public License',
         'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
+        'Programming Language :: Python :: 2.4',
+        'Programming Language :: Python :: 2.5',
+        'Programming Language :: Python :: 2.6',
+        'Programming Language :: Python :: 2.7',
         'Natural Language :: English',
         'Operating System :: OS Independent',
         'Topic :: Internet :: WWW/HTTP',
-        'Framework :: Zope3'],
+        'Framework :: Zope3',
+    ],
     url='http://pypi.python.org/pypi/z3c.coverage',
     packages=find_packages('src'),
     include_package_data=True,

Added: z3c.coverage/trunk/tox.ini
===================================================================
--- z3c.coverage/trunk/tox.ini	                        (rev 0)
+++ z3c.coverage/trunk/tox.ini	2012-09-05 13:02:01 UTC (rev 127713)
@@ -0,0 +1,17 @@
+[tox]
+envlist = py24, py25, py26, py27
+
+[testenv]
+deps = zope.testrunner
+       zope.testing
+commands = zope-testrunner --test-path=src
+
+[testenv:py25]
+deps = {[testenv]deps}
+       zope.interface < 4.0.0
+       zope.exceptions < 4.0.0
+
+[testenv:py24]
+deps = {[testenv]deps}
+       zope.interface < 4.0.0
+       zope.exceptions < 4.0.0



More information about the checkins mailing list