From 646c1bc006ea757b408a02803458415e1f0c40b8 Mon Sep 17 00:00:00 2001 From: dhritinaidu Date: Fri, 12 Jul 2024 16:39:36 -0400 Subject: [PATCH] updated makefile for pyinstaller --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b0e6834..f5e1a71 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file + tar -czvf dist/archive.tar.gz dist/__main__ \ No newline at end of file