Skip to content

Commit

Permalink
Update Makefile to use python3 instead of python
Browse files Browse the repository at this point in the history
  • Loading branch information
jerematt committed Aug 10, 2023
1 parent 628be23 commit 9a44b4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
@@ -1,5 +1,5 @@
VERSION := $(shell python ./setup.py --version)
NAME := $(shell python ./setup.py --name)
VERSION := $(shell python3 ./setup.py --version)
NAME := $(shell python3 ./setup.py --name)
ARCH ?= linux_x86_64
src := predict.py predict.c setup.py
sdist := dist/$(NAME)-$(VERSION).tar.gz
Expand Down Expand Up @@ -42,11 +42,11 @@ $(wheels): $(src)
sdist: $(sdist)

$(sdist): $(src)
python setup.py sdist
python3 setup.py sdist

.PHONY: install
install: build
python setup.py install
python3 setup.py install

.PHONY: test
test: install
Expand Down

0 comments on commit 9a44b4a

Please sign in to comment.