Skip to content

Commit

Permalink
updated makefile for pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
dhritinaidu committed Jul 12, 2024
1 parent a3a293c commit 646c1bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PYTHONPATH := ./torch:$(PYTHONPATH)

.PHONY: test lint setup dist
.PHONY: test lint build dist

test:
PYTHONPATH=$(PYTHONPATH) pytest src/
lint:
pylint --disable=E1101,W0719,C0202,R0801,W0613,C0411 src/
setup:
python3 -m pip install -r requirements.txt -U
build:
./build.sh
dist/archive.tar.gz:
tar -czf module.tar.gz run.sh requirements.txt src
tar -czvf dist/archive.tar.gz dist/__main__

0 comments on commit 646c1bc

Please sign in to comment.