From 0f2a6e462ff3b7d97b8a5b09df5442da302276da Mon Sep 17 00:00:00 2001 From: bboettcher31 Date: Wed, 6 Jul 2022 11:55:56 +0200 Subject: [PATCH] pyinstaller spec --- webmapper.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 webmapper.spec diff --git a/webmapper.spec b/webmapper.spec new file mode 100644 index 0000000..565b1b5 --- /dev/null +++ b/webmapper.spec @@ -0,0 +1,57 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + +added_files=[ + ('html', 'html'), + ('css', 'css'), + ('js', 'js'), + ('images', 'images'), + ('includes', 'includes') + ] + +a = Analysis( + ['webmapper.py'], + pathex=[], + binaries=[], + datas=added_files, + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + [], + exclude_binaries=True, + name='webmapper', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) +coll = COLLECT( + exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='webmapper', +)