Skip to content

Commit

Permalink
Fix definition order for PYTHON variables
Browse files Browse the repository at this point in the history
Need to get the python executable name while building the virtual env. Found
after a realclean build.
  • Loading branch information
steve-downey committed Jun 12, 2024
1 parent 4afc3b1 commit 86fb5ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions papers/P2988/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PYEXECPATH ?= $(shell which python3.12 || which python3.11 || which python3.10)
PYTHON ?= $(shell basename $(PYEXECPATH))
VENV := .venv/
SOURCE_VENV := . $(VENV)/bin/activate;
PYEXEC := $(SOURCE_VENV) $(PYTHON)
PIP_SYNC := $(PYEXEC) -m piptools sync
PYEXECPATH ?= $(shell which python3.12 || which python3.11 || which python3.10)
PYTHON ?= $(shell basename $(PYEXECPATH))
REQS_MARKER := $(VENV)/bin/.pip-sync
PIP := $(PYEXEC) -m pip
DEPS_DIR := .deps
Expand Down

0 comments on commit 86fb5ce

Please sign in to comment.