Skip to content

Commit 84e43c4

Browse files
committedApr 25, 2023
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.
1 parent f41f838 commit 84e43c4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎tox.ini

+2-6
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True}
99
toxworkdir = {env:TOXWORKDIR:.tox}
1010

1111
[testenv]
12-
usedevelop = True
1312
extras =
1413
toml
14+
package = editable
1515

1616
# PYVERSIONS
1717
deps =
@@ -30,15 +30,11 @@ setenv =
3030
# so override any local setting.
3131
PYTHONPYCACHEPREFIX=
3232

33-
# $set_env.py: COVERAGE_PIP_ARGS - Extra arguments for `pip install`
34-
# `--no-build-isolation` will let tox work with no network.
3533
commands =
3634
# Create tests/zipmods.zip
3735
python igor.py zip_mods
3836

39-
# Build the C extension and test with the CTracer
40-
python setup.py --quiet build_ext --inplace
41-
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
37+
# Test with the CTracer that normal installation gives us.
4238
python igor.py test_with_tracer c {posargs}
4339

4440
# Remove the C extension so that we can test the PyTracer

0 commit comments

Comments
 (0)
Please sign in to comment.