[Checkins] SVN: zope.copy/trunk/ Add 'setup.py dev' alias.

Tres Seaver cvs-admin at zope.org
Wed Jun 13 15:23:15 UTC 2012


Log message for revision 126842:
  Add 'setup.py dev' alias.
  
  Runs ``setup.py develop`` plus installs ``nose``, ``coverage``, and
  testing dependencies.
  
  Also add explicit classifiers for supported Python implementations / versions.
  

Changed:
  _U  zope.copy/trunk/
  U   zope.copy/trunk/CHANGES.txt
  A   zope.copy/trunk/setup.cfg
  U   zope.copy/trunk/setup.py

-=-
Modified: zope.copy/trunk/CHANGES.txt
===================================================================
--- zope.copy/trunk/CHANGES.txt	2012-06-13 15:23:08 UTC (rev 126841)
+++ zope.copy/trunk/CHANGES.txt	2012-06-13 15:23:12 UTC (rev 126842)
@@ -5,6 +5,9 @@
 4.0.0 (unreleased)
 ------------------
 
+- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
+  ``nose``, ``coverage``, and testing dependencies).
+
 - Dropped support for Python 2.4 and 2.5.
 
 - Include tests of the LocationCopyHook from zope.location.

Added: zope.copy/trunk/setup.cfg
===================================================================
--- zope.copy/trunk/setup.cfg	                        (rev 0)
+++ zope.copy/trunk/setup.cfg	2012-06-13 15:23:12 UTC (rev 126842)
@@ -0,0 +1,9 @@
+[nosetests]
+nocapture=1
+cover-package=zope.copy
+cover-erase=1
+with-doctest=0
+where=src
+
+[aliases]
+dev = develop easy_install zope.copy[testing]

Modified: zope.copy/trunk/setup.py
===================================================================
--- zope.copy/trunk/setup.py	2012-06-13 15:23:08 UTC (rev 126841)
+++ zope.copy/trunk/setup.py	2012-06-13 15:23:12 UTC (rev 126842)
@@ -19,8 +19,14 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
+TESTS_REQUIRE = [
+    'zope.component',
+    'zope.location',
+    'zope.testing',
+]
+
 setup(name = 'zope.copy',
-      version = '3.5.1dev',
+      version = '4.0.0dev',
       author='Zope Foundation and Contributors',
       author_email='zope-dev at zope.org',
       description='Pluggable object copying mechanism',
@@ -37,6 +43,10 @@
           'License :: OSI Approved :: Zope Public License',
           'Operating System :: OS Independent',
           'Programming Language :: Python',
+          'Programming Language :: Python :: 2',
+          'Programming Language :: Python :: 2.6',
+          'Programming Language :: Python :: 2.7',
+          'Programming Language :: Python :: Implementation :: CPython',
           'Topic :: Database',
           ],
       url='http://pypi.python.org/pypi/zope.copy',
@@ -44,12 +54,13 @@
       packages=find_packages('src'),
       package_dir = {'': 'src'},
       namespace_packages=['zope'],
-      extras_require={'test': ['zope.component',
-                               'zope.location',
-                               'zope.testing']},
       install_requires = ['setuptools',
                           'zope.interface',
                           ],
       include_package_data = True,
       zip_safe = False,
-      )
+      extras_require={
+        'test': TESTS_REQUIRE,
+        'testing': TESTS_REQUIRE + ['nose', 'coverage'],
+      },
+)



More information about the checkins mailing list