]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Test and document all supported Python versions
authorJon Dufresne <jon.dufresne@gmail.com>
Sat, 21 Oct 2017 16:49:07 +0000 (09:49 -0700)
committerAarni Koskela <akx@iki.fi>
Sun, 22 Oct 2017 19:59:44 +0000 (22:59 +0300)
Add Python 3.6 to Travis CI and tox.

Add PyPy to tox.

Add trove classifiers for all supported versions. Helps package users
know if the library is compatible.

.travis.yml
setup.py
tox.ini

index b7eff7d94a9a92cfebdce74e28e9d61bf02f459c..f9469c99afa98d91505e32dc5bab630b96622796 100644 (file)
@@ -35,6 +35,8 @@ matrix:
       python: 3.5
       env:
       - PYTHON_TEST_FLAGS=-bb
+    - os: linux
+      python: 3.6
 
 install:
   - bash .ci/deps.${TRAVIS_OS_NAME}.sh
index 146f38dc47b9e2e55c9d69d4b6b07061a006fa09..684c3871898cd4da17a4f925b10d0532a52bb887 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -44,12 +44,15 @@ setup(
         'License :: OSI Approved :: BSD License',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
         'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Software Development :: Libraries :: Python Modules',
     ],
diff --git a/tox.ini b/tox.ini
index 53746582348868513f772db8520ece1aec4dc06d..b71dec7c4a1cc513b8999bd66b14fe16bddc19c4 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py26, py27, pypy, py33, py34, py26-cdecimal, py27-cdecimal
+envlist = py26, py27, pypy, py33, py34, py35, py36, pypy3, py26-cdecimal, py27-cdecimal
 
 [testenv]
 deps =