From 61bbed09beb480d71dc6702f42b39142f2ccdeb1 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Thu, 17 Jul 2025 15:37:44 -0700 Subject: [PATCH] Add install sub-command for pyinstaller --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bce155a..d73ceb3 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ setup-env: pipenv run pre-commit run --all-files build: docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push . +install: + pyinstaller --onefile --windowed --hidden-import='PIL._tkinter_finder' src/main.py run: python src/main.py start: @@ -22,4 +24,4 @@ format: docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff shell: docker-compose exec -it thechart /bin/bash -.PHONY: setup-env build run start stop test lint format shell +.PHONY: setup-env build install run start stop test lint format shell