[Checkins] SVN: zope.configuration/branches/tseaver-test_cleanup/ Add 'setup.py dev' alias:

Tres Seaver cvs-admin at zope.org
Sun May 6 16:15:23 UTC 2012


Log message for revision 125663:
  Add 'setup.py dev' alias:
  
  - Runs 'setup.py develop' plus installs 'nose' and 'coverage').
  

Changed:
  U   zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt
  A   zope.configuration/branches/tseaver-test_cleanup/setup.cfg
  U   zope.configuration/branches/tseaver-test_cleanup/setup.py

-=-
Modified: zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt	2012-05-06 16:14:31 UTC (rev 125662)
+++ zope.configuration/branches/tseaver-test_cleanup/CHANGES.txt	2012-05-06 16:15:20 UTC (rev 125663)
@@ -2,6 +2,12 @@
 Changes
 =======
 
+4.0.0 (unreleased)
+------------------
+
+- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
+  ``nose`` and ``coverage``).
+
 3.8.1 (2012-05-05)
 ------------------
 

Added: zope.configuration/branches/tseaver-test_cleanup/setup.cfg
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/setup.cfg	                        (rev 0)
+++ zope.configuration/branches/tseaver-test_cleanup/setup.cfg	2012-05-06 16:15:20 UTC (rev 125663)
@@ -0,0 +1,9 @@
+[nosetests]
+nocapture=1
+cover-package=zope.configuration
+cover-erase=1
+with-doctest=0
+where=src
+
+[aliases]
+dev = develop easy_install zope.configuration[testing]

Modified: zope.configuration/branches/tseaver-test_cleanup/setup.py
===================================================================
--- zope.configuration/branches/tseaver-test_cleanup/setup.py	2012-05-06 16:14:31 UTC (rev 125662)
+++ zope.configuration/branches/tseaver-test_cleanup/setup.py	2012-05-06 16:15:20 UTC (rev 125663)
@@ -56,8 +56,10 @@
                     suite.addTest(mod.test_suite())
     return suite
 
+TESTS_REQUIRE = ['zope.testing']
+
 setup(name='zope.configuration',
-      version = '3.8.1dev',
+      version = '4.0.0dev',
       author='Zope Foundation and Contributors',
       author_email='zope-dev at zope.org',
       description='Zope Configuration Markup Language (ZCML)',
@@ -87,8 +89,10 @@
       packages=find_packages('src'),
       package_dir={'': 'src'},
       namespace_packages=['zope'],
-      extras_require=dict(
-          test=['zope.testing']),
+      extras_require={
+        'test': TESTS_REQUIRE,
+        'testing': TESTS_REQUIRE + ['nose', 'coverage'],
+      },
       install_requires=['zope.i18nmessageid',
                         'zope.interface',
                         'zope.schema',



More information about the checkins mailing list