From 32bf2986c6e38e98b4010e30fbc6974eb5aad792 Mon Sep 17 00:00:00 2001 From: Clement Desmidt Date: Tue, 23 May 2023 10:16:20 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=A6=EF=B8=8F=20Prepare=20for=20bui?= =?UTF-8?q?ld?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 +++++- requirements.txt | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6ef96ad..cbcdc08 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ demo.py first.py theme.py -/.idea \ No newline at end of file +/.idea +/dist/ +!/dist/drawingtraining +/*.spec +/build/ diff --git a/requirements.txt b/requirements.txt index 3c03d0b..e1732c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ -dearpygui -pathlib -pillow \ No newline at end of file +pillow +pyinstaller \ No newline at end of file -- 2.30.2 From c6ce2a4452265dd3146576339c21de2ee8d62f38 Mon Sep 17 00:00:00 2001 From: Clement Desmidt Date: Tue, 23 May 2023 10:28:41 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=A6=EF=B8=8F=20Add=20makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #1 --- makefile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..dd1c8fe --- /dev/null +++ b/makefile @@ -0,0 +1,2 @@ +build: + pyinstaller main.py --onefile -w --hidden-import="PIL._tkinter_finder" -n drawingtraining \ No newline at end of file -- 2.30.2