From 914b144ecf80c9dfce86638da8ffc9b13a9e001a Mon Sep 17 00:00:00 2001 From: glitch Date: Tue, 29 Jun 2021 15:24:26 -0400 Subject: [PATCH] Closes #862: Explict python3 for versioneer and adding 'make version' target. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b41cbd25ca..991c256349 100644 --- a/Makefile +++ b/Makefile @@ -165,7 +165,7 @@ endef $(eval $(call create_help_target,arkouda-help,ARKOUDA_HELP_TEXT)) # Set the arkouda server version from the VERSION file -VERSION=$(shell python -c "import versioneer; print(versioneer.get_versions()[\"version\"])") +VERSION=$(shell python3 -c "import versioneer; print(versioneer.get_versions()[\"version\"])") # Test for existence of VERSION file # ifneq ("$(wildcard $(VERSIONFILE))","") # VERSION=$(shell cat ${VERSIONFILE}) @@ -367,6 +367,9 @@ CLEAN_TARGETS += test-clean test-clean: $(RM) $(TEST_TARGETS) $(addsuffix _real,$(TEST_TARGETS)) +version: + @echo $(VERSION); + ##################### #### Epilogue.mk #### #####################