2023-05-24 17:25:17 +02:00
|
|
|
.PHONY: build dist
|
|
|
|
|
2023-06-07 00:59:45 +02:00
|
|
|
TOTAL_LOCATION := $(pip show customtkinter | grep Location)
|
|
|
|
LOCATION=!TOTAL_LOCATION:~0,10!
|
|
|
|
|
|
|
|
build_linux:
|
|
|
|
rm -rf build dist drawingtraining.spec
|
|
|
|
pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining --add-data "assets:assets"
|
|
|
|
|
|
|
|
build_windows:
|
2023-05-24 17:25:17 +02:00
|
|
|
rm -rf build dist drawingtraining.spec
|
2023-06-07 00:59:45 +02:00
|
|
|
pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining --add-data "assets;assets" --add-data "${LOCATION}\customtkinter;customtkinter\"
|