We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9324ea2 commit 554da96Copy full SHA for 554da96
Makefile
@@ -14,7 +14,7 @@ BROWSER := python -m webbrowser file://$(CURDIR)/
14
15
# This runs a Python command for every make invocation, but it's fast enough.
16
# Is there a way to do it only when needed?
17
-VERSION := $(shell python -c "from setuptools import setup; setup()" --version)
+VERSION := $(shell python -c "import build.util as bu; print(bu.project_wheel_metadata('.')['Version'])")
18
export VERSION
19
20
.PHONY: help clean sterile
0 commit comments