summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2014-02-13 21:22:42 -0500
committerRyan Petrello <lists@ryanpetrello.com>2014-02-13 21:22:42 -0500
commit6a7a8cbddd891f1d387ad8b5e10f9fe22216668e (patch)
treed1e1bc17edaea1a28beb2de4c522a41343729ebd
parent1335f2c19dbfff0bd586d4ea6071cedf69b5c36f (diff)
downloadpecan-6a7a8cbddd891f1d387ad8b5e10f9fe22216668e.tar.gz
Test pecan against Python3.4 (for now, rc1).
Change-Id: I39c03bbca6c54a3d6c75f82da9842d67ed5666ea
-rw-r--r--setup.py3
-rw-r--r--tox.ini14
2 files changed, 15 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 1a90377..09c2eee 100644
--- a/setup.py
+++ b/setup.py
@@ -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'
],
diff --git a/tox.ini b/tox.ini
index f11d8c5..efa65fb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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