diff options
author | Michał Klichowicz <emkael@tlen.pl> | 2023-09-30 15:20:24 +0200 |
---|---|---|
committer | Michał Klichowicz <emkael@tlen.pl> | 2023-09-30 15:20:24 +0200 |
commit | b803c87cc5f5ef785c151a75a424f59c33cfa8f7 (patch) | |
tree | 819894151c72d9a2987cf1ff54757c898ca9afff /mojzesz.spec | |
parent | 463795c2b9ab02a0b0e92d29b3a78de565eb4c57 (diff) |
PyInstaller setup
Diffstat (limited to 'mojzesz.spec')
-rw-r--r-- | mojzesz.spec | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mojzesz.spec b/mojzesz.spec new file mode 100644 index 0000000..395da2a --- /dev/null +++ b/mojzesz.spec @@ -0,0 +1,17 @@ +import os +a = Analysis(['src/main.py'], + pathex=[os.path.abspath('.')], + hiddenimports=['mysql.connector.locales.eng.client_error'], + hookspath=None, + runtime_hooks=None) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='mojzesz.exe', + debug=False, + strip=None, + upx=True, + console=True, icon='mojzesz.ico', version='.version') |