pyo3/examples/maturin-starter/tox.ini

13 lines
435 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}
deps = -rrequirements-dev.txt
2020-11-09 21:46:25 +00:00
commands =
# Use pip master with in-tree-build feature (to be released in pip 21.0)
python -m pip install --upgrade git+https://github.com/pypa/pip.git
python -m pip install . --use-feature=in-tree-build
2020-11-09 21:46:25 +00:00
pytest {posargs}