diff --git a/Makefile b/Makefile index 2947d5584..39fe47ca4 100644 --- a/Makefile +++ b/Makefile @@ -257,7 +257,7 @@ $(RAPIDFLUX): target/debug/librapidflux.so cp target/debug/librapidflux.so $@ target/debug/librapidflux.so: $(RAPIDFLUX_SRC) - cargo build + PYO3_PYTHON=$(DEVEL_VENV)/bin/python cargo build # --- Setup: Development dependencies --- @@ -319,7 +319,7 @@ check_code: check_poetry common_check check_rapidflux check_unit_test_file_cover check_rapidflux: cargo fmt --check cargo clippy --tests -- -D warnings - ./tools/check_rust_attributes.py $$(find librapidflux -name '*.rs') + $(POETRY) run ./tools/check_rust_attributes.py $$(find librapidflux -name '*.rs') check_poetry: export PYTHONPATH= check_poetry: $(RFLX)