diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,8 @@ install_global=false -include config.mk +version := $(shell poetry version | awk '{ print $$2 }') + .PHONY: all all: @echo "This is a python project, no compilation required" @@ -16,11 +18,13 @@ endif .PHONY: install-global install-global: compile - pip3 install . + poetry build -f wheel + pip3 install --upgrade --ignore-installed "dist/talermerchantdemos-$(version)-py3-none-any.whl" .PHONY: install-local install-local: compile - pip3 install . --user + poetry build -f wheel + pip3 install --upgrade --ignore-installed --user "dist/talermerchantdemos-$(version)-py3-none-any.whl" # run testcases .PHONY: check |