pyo3/examples/maturin-starter/tox.ini

15 lines
423 B
INI
Raw Normal View History

[tox]
2020-11-09 21:46:25 +00:00
# can't install from sdist because local pyo3 repo can't be included in the sdist
skipsdist = true
[testenv]
description = Run the unit tests under {basepython}
2021-04-29 07:49:41 +00:00
deps =
pip>=21.1 # for in-tree-build
-rrequirements-dev.txt
2020-11-09 21:46:25 +00:00
commands =
2021-04-29 07:49:41 +00:00
# --use-feature=in-tree-build is necessary because this example is inside
# the PyO3 repo.
python -m pip install . --use-feature=in-tree-build
2020-11-09 21:46:25 +00:00
pytest {posargs}