summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-04-25 06:14:52 -0600
committerNed Batchelder <ned@nedbatchelder.com>2023-04-25 06:37:53 -0600
commit84e43c402fb429c7aa0432dc46229158fb5e1889 (patch)
treec6c92610f05903271b42e5942f3536a72754b15f
parentf41f8382f9035f8842f433a568b889f10d34ea60 (diff)
downloadpython-coveragepy-git-84e43c402fb429c7aa0432dc46229158fb5e1889.tar.gz
build: remove some unneeded tox steps
Bernát Gábor pointed out that we don't need the pip installation steps because tox will have already installed the project.
-rw-r--r--tox.ini8
1 files changed, 2 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 51c39bd1..ebc99816 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,9 +9,9 @@ skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True}
toxworkdir = {env:TOXWORKDIR:.tox}
[testenv]
-usedevelop = True
extras =
toml
+package = editable
# PYVERSIONS
deps =
@@ -30,15 +30,11 @@ setenv =
# so override any local setting.
PYTHONPYCACHEPREFIX=
-# $set_env.py: COVERAGE_PIP_ARGS - Extra arguments for `pip install`
-# `--no-build-isolation` will let tox work with no network.
commands =
# Create tests/zipmods.zip
python igor.py zip_mods
- # Build the C extension and test with the CTracer
- python setup.py --quiet build_ext --inplace
- python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
+ # Test with the CTracer that normal installation gives us.
python igor.py test_with_tracer c {posargs}
# Remove the C extension so that we can test the PyTracer