diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-25 14:54:40 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-25 14:54:40 -0400 |
commit | 7de7a340afad244b010f8d4ca81868e65f9f156f (patch) | |
tree | 7cf9a636e5f5d0fd049bbc59148813fd14473a9b | |
parent | 349b2f8e1b7f7be6cafed723820e87109407a6af (diff) | |
download | python-coveragepy-git-7de7a340afad244b010f8d4ca81868e65f9f156f.tar.gz |
build: avoid direct setup.py use
-rw-r--r-- | tox.ini | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -34,19 +34,19 @@ setenv = PYTHONPYCACHEPREFIX= commands = - python setup.py --quiet clean develop - # Create tests/zipmods.zip + python igor.py zip_mods + + # Build the C extension and test with the CTracer + python -m pip install -q -e . + python igor.py test_with_tracer c {posargs} + # Remove the C extension so that we can test the PyTracer - python igor.py zip_mods remove_extension + python igor.py remove_extension # Test with the PyTracer python igor.py test_with_tracer py {posargs} - # Build the C extension and test with the CTracer - python setup.py --quiet build_ext --inplace - python igor.py test_with_tracer c {posargs} - [testenv:anypy] # $set_env.py: COVERAGE_ANYPY - The custom Python for "tox -e anypy" # For running against my own builds of CPython, or any other specific Python. |