Skip to content

Commit 8d9ee91

Browse files
committed
Use system python (instead of tox/py3/bin/python) for version
As we run some of the targets in a non-tox environment (where tox/py3/bin/python doesn't exist)
1 parent c92ae70 commit 8d9ee91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BIN := .tox/py3/bin
22
PY := $(BIN)/python3
33
PIP := $(BIN)/pip3
4-
VERSION := $(shell $(PY) -c "from juju.version import CLIENT_VERSION; print(CLIENT_VERSION)")
4+
VERSION := $(shell python3 -c "from juju.version import CLIENT_VERSION; print(CLIENT_VERSION)")
55

66
.PHONY: clean
77
clean:

0 commit comments

Comments
 (0)