chore: prefix pip and python commands with venv path in Makefile build target

This commit is contained in:
retoor 2024-11-25 19:50:20 +00:00
parent 66155ce6a6
commit a03c6eb774

View File

@ -4,9 +4,9 @@ ensure_env:
-@python3 -m venv venv -@python3 -m venv venv
build: build:
pip install build ./venv/bin/python -m pip install build
python -m build . ./venv/bin/python -m build .
pip install -e . ./venv/bin/python -m pip install -e .