1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-26 20:57:35 +03:00

Fix setup and tox for Python 3.1

This commit is contained in:
Simon Sapin 2012-03-05 14:59:07 +01:00
parent 7c9f9c84dd
commit d702f1085f
2 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@ REQUIRES = [
# PyGObject
# PyCairo
]
if sys.version_info < (2, 7):
if sys.version_info < (2, 7) or (3,) <= sys.version_info < (3, 2):
# In the stdlib from 2.7:
REQUIRES.append('argparse')

View File

@ -1,6 +1,12 @@
[tox]
envlist = py26,py27,py31,py32
[testenv]
sitepackages=True
deps=pytest
commands=py.test []
[testenv:py31]
deps=
pytest
hg+https://bitbucket.org/liZe/pystacia