Add support for PyPy

issue4408
This commit is contained in:
Cédric Krier
2015-03-15 15:59:34 +01:00
parent 69cfe0dba3
commit ea8ea9984f
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,2 +1,3 @@
* Add support for PyPy
Version 3.4.0 - 2014-10-20
* Initial release
+2
View File
@@ -93,6 +93,8 @@ setup(name=name,
'Natural Language :: Spanish',
'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://}