Officially support Python 3.5.

This commit is contained in:
Ryan Petrello 2016-06-02 16:02:14 -04:00
parent 6950d55e42
commit a5a4c81c5c
3 changed files with 37 additions and 1 deletions

View File

@ -55,3 +55,18 @@ matrix:
- env: TOXENV=ironic-stable
- env: TOXENV=magnum-stable
- env: TOXENV=wsme-stable
include:
- python: 3.5
env:
- TOXENV=py35
- python: 3.5
env:
- TOXENV=scaffolds-35
- python: 3.5
env:
- TOXENV=scaffolds-35-rest-api
notifications:
irc:
channels:
- "chat.freenode.net#pecanpy"

View File

@ -91,6 +91,7 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Application Frameworks'

22
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,py33,py34,scaffolds-26,scaffolds-27,scaffolds-33,scaffolds-34,scaffolds-26-rest-api,scaffolds-27-rest-api,scaffolds-33-rest-api,scaffolds-34-rest-api,pep8
envlist = py26,py27,py33,py34,py35,scaffolds-26,scaffolds-27,scaffolds-33,scaffolds-34,scaffolds-35,scaffolds-26-rest-api,scaffolds-27-rest-api,scaffolds-33-rest-api,scaffolds-34-rest-api,scaffolds-35-rest-api,pep8
[testenv]
commands={envpython} setup.py test -v {posargs}
@ -91,6 +91,26 @@ commands=pecan create testing123 rest-api
pep8 --repeat --show-source testing123/setup.py testing123/testing123
{envpython} {toxinidir}/pecan/tests/scaffold_builder.py
[testenv:scaffolds-35]
basepython = python3.5
deps = {[testenv:scaffolds-base]deps}
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123
{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:scaffolds-35-rest-api]
basepython = python3.5
deps = {[testenv:scaffolds-base]deps}
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123 rest-api
{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