Add support for PyPy

issue4408
This commit is contained in:
Cédric Krier
2015-03-15 15:59:25 +01:00
parent 5fbdbd71ba
commit e56381da3f
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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.
+2
View File
@@ -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',
],
+3 -2
View File
@@ -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://}