Add install sub-command for pyinstaller
This commit is contained in:
4
Makefile
4
Makefile
@@ -8,6 +8,8 @@ setup-env:
|
|||||||
pipenv run pre-commit run --all-files
|
pipenv run pre-commit run --all-files
|
||||||
build:
|
build:
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
|
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
|
||||||
|
install:
|
||||||
|
pyinstaller --onefile --windowed --hidden-import='PIL._tkinter_finder' src/main.py
|
||||||
run:
|
run:
|
||||||
python src/main.py
|
python src/main.py
|
||||||
start:
|
start:
|
||||||
@@ -22,4 +24,4 @@ format:
|
|||||||
docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff
|
docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff
|
||||||
shell:
|
shell:
|
||||||
docker-compose exec -it thechart /bin/bash
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user