Merge "Test pecan against Python3.4 (for now, rc1)."

This commit is contained in:
Jenkins
2014-02-14 13:47:10 +00:00
committed by Gerrit Code Review
2 changed files with 15 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ try:
except:
#
# This was introduced in Python 3.4 - the singledispatch package contains
# a backported replacement for 2.6 through 3.3
# a backported replacement for 2.6 through 3.4
#
requirements.append('singledispatch')
@@ -95,6 +95,7 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Frameworks'
],

14
tox.ini
View File

@@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,py32,py33,scaffolds-26,scaffolds-27,scaffolds-32,scaffolds-33,pep8
envlist = py26,py27,py32,py33,py34,scaffolds-26,scaffolds-27,scaffolds-32,scaffolds-33,scaffolds-34,pep8
[testenv]
commands={envpython} setup.py test -v
@@ -54,6 +54,18 @@ commands=pecan create testing123
pep8 --repeat --show-source testing123/setup.py testing123/testing123
{envpython} {toxinidir}/pecan/tests/scaffold_builder.py
[testenv:scaffolds-34]
basepython = python3.4
deps = {[testenv:scaffolds-base]deps}
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123
curl "http://python-distribute.org/distribute_setup.py" -O
{envpython} distribute_setup.py
{envpython} testing123/setup.py install
{envpython} testing123/setup.py test -q
pep8 --repeat --show-source testing123/setup.py testing123/testing123
{envpython} {toxinidir}/pecan/tests/scaffold_builder.py
[testenv:wsme-stable]
basepython = python2.7
deps = nose