From a18a7161690d6c9b8560375aeea2ba2f66277b40 Mon Sep 17 00:00:00 2001 From: Dylan Jones Date: Sun, 13 Dec 2020 16:33:09 -0500 Subject: actually add chisel and bits --- installer.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 installer.spec (limited to 'installer.spec') diff --git a/installer.spec b/installer.spec new file mode 100644 index 0000000..dca793c --- /dev/null +++ b/installer.spec @@ -0,0 +1,48 @@ +# -*- mode: python ; coding: utf-8 -*- +import os +import sys + +# included data is based on cwd +cwd = os.getcwd() +pack_name = cwd.split(os.path.sep)[-1] +j = os.path.join + +block_cipher = None + + +a = Analysis(['installer.py'], + pathex=[cwd], + binaries=[], + datas=[ + (j(cwd, 'pack-lock.ini'), '.'), + (j(cwd, 'pack.ini'), '.'), + (j(cwd, 'icon.png'), '.'), + (j(cwd, 'config'), 'config') + ], + hiddenimports=[], + hookspath=[], + 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, + a.binaries, + a.zipfiles, + a.datas, + [], + name=f'{pack_name}-installer', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True, + icon=j(cwd, 'icon.ico') + ",0") -- cgit v1.2.3