From 20541be43d16b6e88ef68468997e4c1d1a7f7d48 Mon Sep 17 00:00:00 2001 From: Dashadower Date: Wed, 8 May 2019 20:41:40 +0900 Subject: [PATCH] Added build script --- screenshutter.spec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 screenshutter.spec diff --git a/screenshutter.spec b/screenshutter.spec new file mode 100644 index 0000000..dc0ca9d --- /dev/null +++ b/screenshutter.spec @@ -0,0 +1,32 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['main.py'], + pathex=['C:\\Users\\Administrator\\PycharmProjects\\pyscreenruler'], + binaries=[], + datas=[], + 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='screenshutter', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + runtime_tmpdir=None, + console=False )