Skip to content

Commit

Permalink
Merge pull request #863 from glitch/862-Makefile-versioneer
Browse files Browse the repository at this point in the history
Closes #862: Explict python3 for versioneer and adding 'make version' target
  • Loading branch information
mhmerrill committed Jun 29, 2021
2 parents 475581b + 914b144 commit b83c3ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down Expand Up @@ -367,6 +367,9 @@ CLEAN_TARGETS += test-clean
test-clean:
$(RM) $(TEST_TARGETS) $(addsuffix _real,$(TEST_TARGETS))

version:
@echo $(VERSION);

#####################
#### Epilogue.mk ####
#####################
Expand Down

0 comments on commit b83c3ba

Please sign in to comment.