[Checkins] SVN: zope.tal/trunk/ Add a tox.ini and a MANIFEST.in. Make setup.py test work again.
Marius Gedminas
cvs-admin at zope.org
Thu Feb 7 11:59:47 UTC 2013
Log message for revision 129161:
Add a tox.ini and a MANIFEST.in. Make setup.py test work again.
Changed:
_U zope.tal/trunk/
A zope.tal/trunk/MANIFEST.in
U zope.tal/trunk/setup.py
A zope.tal/trunk/tox.ini
-=-
Property changes on: zope.tal/trunk
___________________________________________________________________
Modified: svn:ignore
- bin
build
dist
lib
develop-eggs
eggs
parts
.installed.cfg
+ bin
build
dist
lib
develop-eggs
eggs
parts
.installed.cfg
.tox
Added: zope.tal/trunk/MANIFEST.in
===================================================================
--- zope.tal/trunk/MANIFEST.in (rev 0)
+++ zope.tal/trunk/MANIFEST.in 2013-02-07 11:59:47 UTC (rev 129161)
@@ -0,0 +1,6 @@
+include *.py
+include *.txt
+include buildout.cfg
+recursive-include src *.pt
+recursive-include src *.xml
+recursive-include src *.html
Modified: zope.tal/trunk/setup.py
===================================================================
--- zope.tal/trunk/setup.py 2013-02-07 11:55:05 UTC (rev 129160)
+++ zope.tal/trunk/setup.py 2013-02-07 11:59:47 UTC (rev 129161)
@@ -28,12 +28,10 @@
return open(os.path.join(here, *rnames)).read()
def alltests():
- # use the zope.testing testrunner machinery to find all the
+ # use the zope.testrunner machinery to find all the
# test suites we've put under ourselves
- from zope.testing.testrunner import get_options
- from zope.testing.testrunner import find_suites
- from zope.testing.testrunner import configure_logging
- configure_logging()
+ from zope.testrunner.options import get_options
+ from zope.testrunner.find import find_suites
from unittest import TestSuite
here = os.path.abspath(os.path.dirname(sys.argv[0]))
args = sys.argv[:]
@@ -44,7 +42,7 @@
return TestSuite(suites)
setup(name='zope.tal',
- version = '4.0.0dev',
+ version='4.0.0dev',
author='Zope Foundation and Contributors',
author_email='zope-dev at zope.org',
description='Zope Template Application Language (TAL)',
@@ -76,7 +74,7 @@
test=['zope.testing',
]),
test_suite="__main__.alltests", # to support "setup.py test"
- tests_require = ['zope.testing'],
+ tests_require=['zope.testrunner'],
install_requires=['setuptools',
'zope.i18nmessageid',
'zope.interface',
Added: zope.tal/trunk/tox.ini
===================================================================
--- zope.tal/trunk/tox.ini (rev 0)
+++ zope.tal/trunk/tox.ini 2013-02-07 11:59:47 UTC (rev 129161)
@@ -0,0 +1,11 @@
+[tox]
+envlist =
+ py26,py27
+# these do not work yet
+# py32,py33,pypy
+
+[testenv]
+commands =
+ python setup.py test -q
+deps =
+ zope.testrunner
More information about the checkins
mailing list