diff --git a/.drone.yml b/.drone.yml index a4d2595986..9d7c769d8c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,6 @@ env: - MYSQL_URI=mysql://root@127.0.0.1:3306/ script: - pip install tox - - tox -e sqlite,postgresql + - tox -e "py27-{sqlite,postgresql}" services: - postgres diff --git a/CHANGELOG b/CHANGELOG index 1c5ad861e1..990db5c986 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add support for PyPy * Drop the tax rule "Ventes intracommunautaires" and associated taxes. * Create separate taxes for goods and services. You should review all your products, product categories and custom tax rules to rely on the new taxes. diff --git a/setup.py b/setup.py index 8c318845a7..14adde70d3 100644 --- a/setup.py +++ b/setup.py @@ -76,6 +76,8 @@ setup(name=name, 'Natural Language :: French', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Office/Business', 'Topic :: Office/Business :: Financial :: Accounting', ], diff --git a/tox.ini b/tox.ini index e213af00e6..e9d2876444 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] -envlist = py27-{sqlite,postgresql,mysql} +envlist = py27-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql} [testenv] commands = {envpython} setup.py test deps = - postgresql: psycopg2 >= 2.0 + py27-postgresql: psycopg2 >= 2.0 + pypy-postgresql: psycopg2cffi >= 2.5 mysql: MySQL-python setenv = sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}