[Checkins] SVN: z3c.batching/trunk/setup.py Indicate supported python versions, close files, add test suite.

Albertas Agejevas cvs-admin at zope.org
Mon Feb 25 11:54:49 UTC 2013


Log message for revision 129778:
  Indicate supported python versions, close files, add test suite.
  

Changed:
  U   z3c.batching/trunk/setup.py

-=-
Modified: z3c.batching/trunk/setup.py
===================================================================
--- z3c.batching/trunk/setup.py	2013-02-25 06:18:52 UTC (rev 129777)
+++ z3c.batching/trunk/setup.py	2013-02-25 11:54:48 UTC (rev 129778)
@@ -20,7 +20,8 @@
 
 
 def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+    with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
+        return f.read()
 
 
 setup(name='z3c.batching',
@@ -47,6 +48,11 @@
           'Intended Audience :: Developers',
           'License :: OSI Approved :: Zope Public License',
           'Programming Language :: Python',
+          'Programming Language :: Python :: 2',
+          'Programming Language :: Python :: 2.6',
+          'Programming Language :: Python :: 2.7',
+          'Programming Language :: Python :: 3',
+          'Programming Language :: Python :: 3.3',
           'Natural Language :: English',
           'Operating System :: OS Independent',
           'Topic :: Internet :: WWW/HTTP',
@@ -57,9 +63,10 @@
       package_dir={'': 'src'},
       namespace_packages=['z3c'],
       install_requires=['setuptools',
-                          'zope.interface',
-                          'zope.schema',
-                          ],
+                        'zope.interface',
+                        'zope.schema',
+                        ],
       include_package_data=True,
+      test_suite='z3c.batching.tests.test_suite',
       zip_safe=False,
       )



More information about the checkins mailing list