Skip to content

Commit

Permalink
makefile: use only system nox
Browse files Browse the repository at this point in the history
The reason for using only the system nox is that nox
in virtualenv cannot manage python versions, while we
have to test multiple versions.
  • Loading branch information
svinota committed Oct 28, 2023
1 parent 5c57279 commit 99b4b5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
python ?= $(shell util/find_python.sh)

define nox
[ -d .venv ] || ${python} -m venv .venv
bash -c "source .venv/bin/activate; \
python -m pip install --upgrade pip; \
python -m pip install nox; \
nox $(1) -- '$(subst ",\",${noxconfig})'"
nox $(1) -- '$(subst ",\",${noxconfig})'"
endef

.PHONY: all
Expand Down

0 comments on commit 99b4b5b

Please sign in to comment.