From 6686f1c9bd2aaae633f97e48dac60ac82c9f7c68 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 18 Jan 2013 17:49:09 -0500 Subject: [PATCH 1/3] setup.py: Update trove classifiers to Python 2.7, 3.2, and 3.3 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13afd8cf..4c791008 100755 --- a/setup.py +++ b/setup.py @@ -41,8 +41,10 @@ setup( 'Environment :: Console', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ], From 5466ffd61476205feb2a9a7fef737714b12ebf74 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 18 Jan 2013 19:45:39 -0500 Subject: [PATCH 2/3] .travis.yml: Test on Python 3.3 as well as 2.7 and 3.2 If we advertise 3.3 support in setup.py, we should test for it. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7ccdafd5..20f6b57e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - "2.7" - "3.2" + - "3.3" before_install: - sudo apt-get update -qq - sudo apt-get install -qq ruby-sass From 763244dad53404a4ec126beca92d3f30d1325af2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 18 Jan 2013 19:46:58 -0500 Subject: [PATCH 3/3] tox.ini: Test on Python 3.3 as well as 2.7 and 3.2 I just copied the 3.2 environment for 3.3. They should be similar, but it's possible some packages have extra issues on 3.3. --- tox.ini | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bc6578ac..6d1a134a 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ [tox] -envlist = py27,py32 +envlist = py27,py32,py33 [testenv] commands = @@ -61,3 +61,15 @@ deps = # {distshare}/smartypants-1.6.0.3.zip # {distshare}/typogrify-2.0.0.zip # {distshare}/webassets-0.8.dev.zip + +[testenv:py33] +deps = + nose + unittest2py3k + mock + Markdown + BeautifulSoup4 + feedgenerator +# {distshare}/smartypants-1.6.0.3.zip +# {distshare}/typogrify-2.0.0.zip +# {distshare}/webassets-0.8.dev.zip