| 1 |
# Tox (http://tox.testrun.org/) is a tool for running tests |
| 2 |
# in multiple virtualenvs. This configuration file will run the |
| 3 |
# test suite on all supported python versions. To use it, "pip install tox" |
| 4 |
# and then run "tox" from this directory. |
| 5 |
|
| 6 |
[tox] |
| 7 |
envlist = py38, py39, py310, py311, py312, py313, py314 |
| 8 |
|
| 9 |
[testenv] |
| 10 |
allowlist_externals = make |
| 11 |
setenv = |
| 12 |
CFLAGS = -g -O0 |
| 13 |
commands = |
| 14 |
{envpython} setup.py clean |
| 15 |
{envpython} setup.py build_ext --inplace |
| 16 |
make test |
| 17 |
install_command = pip install {opts} {packages} |
| 18 |
deps = |
| 19 |
-r{toxinidir}/requirements.txt |
| 20 |
html5lib |
| 21 |
lxml_html_clean |
| 22 |
setuptools;python_version >= '3.12' |