We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01477d7 commit 7b1860fCopy full SHA for 7b1860f
1 file changed
Makefile
@@ -5,7 +5,7 @@ SHELL := bash
5
6
# Set the package's name and version for use throughout the Makefile.
7
PACKAGE_NAME := package
8
-ifeq ($(wildcard .venv/upgraded-on),)
+ifeq ($(origin VIRTUAL_ENV),undefined)
9
PACKAGE_VERSION := unknown
10
else
11
PACKAGE_VERSION := $(shell python -c 'import $(PACKAGE_NAME); print($(PACKAGE_NAME).__version__)')
0 commit comments