🚀 Update makefile for windows
This commit is contained in:
parent
fb933cc810
commit
07a436811e
11
makefile
11
makefile
@ -1,5 +1,12 @@
|
|||||||
.PHONY: build dist
|
.PHONY: build dist
|
||||||
|
|
||||||
build:
|
TOTAL_LOCATION := $(pip show customtkinter | grep Location)
|
||||||
|
LOCATION=!TOTAL_LOCATION:~0,10!
|
||||||
|
|
||||||
|
build_linux:
|
||||||
rm -rf build dist drawingtraining.spec
|
rm -rf build dist drawingtraining.spec
|
||||||
pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining --add-data "assets:assets"
|
pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining --add-data "assets:assets"
|
||||||
|
|
||||||
|
build_windows:
|
||||||
|
rm -rf build dist drawingtraining.spec
|
||||||
|
pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining --add-data "assets;assets" --add-data "${LOCATION}\customtkinter;customtkinter\"
|
||||||
|
Loading…
Reference in New Issue
Block a user