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

Tres Seaver cvs-admin at zope.org
Mon Jun 4 16:51:43 UTC 2012


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

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

-=-
Modified: zope.hookable/trunk/CHANGES.txt
===================================================================
--- zope.hookable/trunk/CHANGES.txt	2012-06-04 16:51:35 UTC (rev 126573)
+++ zope.hookable/trunk/CHANGES.txt	2012-06-04 16:51:39 UTC (rev 126574)
@@ -4,6 +4,9 @@
 4.0.0 (unreleased)
 ------------------
 
+- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
+  ``nose`` and ``coverage``).
+
 - Dropped support for Python 2.4 / 2.5.
 
 - Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.

Added: zope.hookable/trunk/setup.cfg
===================================================================
--- zope.hookable/trunk/setup.cfg	                        (rev 0)
+++ zope.hookable/trunk/setup.cfg	2012-06-04 16:51:39 UTC (rev 126574)
@@ -0,0 +1,10 @@
+[nosetests]
+nocapture=1
+cover-package=zope.hookable
+cover-erase=1
+with-doctest=0
+where=src
+
+[aliases]
+dev = develop easy_install zope.hookable[testing]
+

Modified: zope.hookable/trunk/setup.py
===================================================================
--- zope.hookable/trunk/setup.py	2012-06-04 16:51:35 UTC (rev 126573)
+++ zope.hookable/trunk/setup.py	2012-06-04 16:51:39 UTC (rev 126574)
@@ -55,10 +55,12 @@
                               ], extra_compile_args=['-g']),
                    ],
       namespace_packages=['zope',],
-      extras_require=dict(test=['zope.testing']),
       install_requires=['setuptools'],
       include_package_data=True,
       zip_safe=False,
-      
       test_suite='zope.hookable.tests.test_hookable.test_suite',
-      )
+      extras_require = {
+        'testing': ['nose', 'coverage'],
+        'test': ['zope.testing'],
+      },
+)



More information about the checkins mailing list