Skip to content

Commit

Permalink
Use system python (instead of tox/py3/bin/python) for version
Browse files Browse the repository at this point in the history
As we run some of the targets in a non-tox environment (where
tox/py3/bin/python doesn't exist)
  • Loading branch information
cderici committed Feb 22, 2024
1 parent c92ae70 commit 8d9ee91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BIN := .tox/py3/bin
PY := $(BIN)/python3
PIP := $(BIN)/pip3
VERSION := $(shell $(PY) -c "from juju.version import CLIENT_VERSION; print(CLIENT_VERSION)")
VERSION := $(shell python3 -c "from juju.version import CLIENT_VERSION; print(CLIENT_VERSION)")

.PHONY: clean
clean:
Expand Down

0 comments on commit 8d9ee91

Please sign in to comment.