[Checkins] SVN: zope.component/tseaver-test_cleanup/ Added 'setup.py dev' alias:
Tres Seaver
cvs-admin at zope.org
Fri May 11 01:58:51 UTC 2012
Log message for revision 125840:
Added 'setup.py dev' alias:
- Runs 'setup.py develop' plus installs 'nose' and 'coverage'.
Changed:
U zope.component/tseaver-test_cleanup/.bzrignore
U zope.component/tseaver-test_cleanup/CHANGES.txt
A zope.component/tseaver-test_cleanup/setup.cfg
U zope.component/tseaver-test_cleanup/setup.py
-=-
Modified: zope.component/tseaver-test_cleanup/.bzrignore
===================================================================
--- zope.component/tseaver-test_cleanup/.bzrignore 2012-05-11 00:46:59 UTC (rev 125839)
+++ zope.component/tseaver-test_cleanup/.bzrignore 2012-05-11 01:58:47 UTC (rev 125840)
@@ -5,3 +5,4 @@
./docs
./parts
*.egg-info
+.coverage
Modified: zope.component/tseaver-test_cleanup/CHANGES.txt
===================================================================
--- zope.component/tseaver-test_cleanup/CHANGES.txt 2012-05-11 00:46:59 UTC (rev 125839)
+++ zope.component/tseaver-test_cleanup/CHANGES.txt 2012-05-11 01:58:47 UTC (rev 125840)
@@ -1,10 +1,11 @@
CHANGES
*******
-3.12.2 (unreleased)
-===================
+4.0.0 (unreleased)
+==================
-- Nothing changed yet.
+- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
+ ``nose`` and ``coverage``).
3.12.1 (2012-04-02)
Added: zope.component/tseaver-test_cleanup/setup.cfg
===================================================================
--- zope.component/tseaver-test_cleanup/setup.cfg (rev 0)
+++ zope.component/tseaver-test_cleanup/setup.cfg 2012-05-11 01:58:47 UTC (rev 125840)
@@ -0,0 +1,11 @@
+[nosetests]
+nocapture=1
+cover-package=zope.component
+cover-erase=1
+with-doctest=0
+where=src
+
+[aliases]
+dev = develop easy_install zope.component[testing]
+docs = easy_install zope.component[docs]
+
Modified: zope.component/tseaver-test_cleanup/setup.py
===================================================================
--- zope.component/tseaver-test_cleanup/setup.py 2012-05-11 00:46:59 UTC (rev 125839)
+++ zope.component/tseaver-test_cleanup/setup.py 2012-05-11 01:58:47 UTC (rev 125840)
@@ -23,11 +23,13 @@
from setuptools import setup, find_packages
-tests_require = [
- 'ZODB3',
- 'zope.hookable',
+TESTS_REQUIRE = [
'zope.testing',
'zope.testrunner',
+ 'zope.component[hook]',
+ 'zope.component[persistentregistry]',
+ 'zope.component[security]',
+ 'zope.component[zcml]',
]
@@ -81,23 +83,24 @@
"Topic :: Software Development :: Libraries :: Python Modules",
],
namespace_packages=['zope',],
- tests_require = tests_require,
+ tests_require = TESTS_REQUIRE,
install_requires=['setuptools',
'zope.interface>=3.8.0',
'zope.event',
],
include_package_data = True,
zip_safe = False,
- extras_require = dict(
- hook = ['zope.hookable'],
- persistentregistry = ['ZODB3'],
- security = ['zope.location',
+ extras_require = {
+ 'hook': ['zope.hookable'],
+ 'persistentregistry': ['ZODB3'],
+ 'security': ['zope.location',
'zope.proxy',
'zope.security',
],
- zcml = ['zope.configuration',
+ 'zcml': ['zope.configuration',
'zope.i18nmessageid',
],
- test = tests_require,
- ),
+ 'test': TESTS_REQUIRE,
+ 'testing': TESTS_REQUIRE + ['nose', 'coverage'],
+ },
)
More information about the checkins
mailing list