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

Tres Seaver cvs-admin at zope.org
Wed May 16 21:13:30 UTC 2012


Log message for revision 125948:
  Add 'setup.py dev' alias:
  
  - Runs 'setup.py develop' plus installs 'nose' and 'coverage'.
  
  Add 'setup.py docs' alias:
  
  - Installs 'Sphinx' and dependencies.
  

Changed:
  U   transaction/trunk/CHANGES.txt
  A   transaction/trunk/setup.cfg
  U   transaction/trunk/setup.py

-=-
Modified: transaction/trunk/CHANGES.txt
===================================================================
--- transaction/trunk/CHANGES.txt	2012-05-16 18:29:26 UTC (rev 125947)
+++ transaction/trunk/CHANGES.txt	2012-05-16 21:13:26 UTC (rev 125948)
@@ -4,6 +4,11 @@
 1.2.1 (unreleased)
 ------------------
 
+- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).
+
+- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
+  ``nose`` and ``coverage``).
+
 - Python 3.3 compatibility.
 
 - Fix "for attempt in transaction.attempts(x)" machinery, which would not

Added: transaction/trunk/setup.cfg
===================================================================
--- transaction/trunk/setup.cfg	                        (rev 0)
+++ transaction/trunk/setup.cfg	2012-05-16 21:13:26 UTC (rev 125948)
@@ -0,0 +1,9 @@
+[nosetests]
+nocapture=1
+cover-package=transaction
+cover-erase=1
+where=transaction
+
+[aliases]
+dev = develop easy_install transaction[testing]
+docs = develop easy_install transaction[docs]

Modified: transaction/trunk/setup.py
===================================================================
--- transaction/trunk/setup.py	2012-05-16 18:29:26 UTC (rev 125947)
+++ transaction/trunk/setup.py	2012-05-16 21:13:26 UTC (rev 125948)
@@ -57,6 +57,10 @@
       install_requires=[
         'zope.interface',
         ],
+      extras_require = {
+        'docs': ['Sphinx'],
+        'testing': ['nose', 'coverage'],
+      },
       entry_points = """\
       """
       )



More information about the checkins mailing list