pytest: environment variable to specify pytest.ini location
There is no way to do that. You can use a different pytest configuration using pytest -c
but tox.ini
and setup.cfg
must reside in the top-level directory of your package, next to setup.py
.