From 909fba207e7f9a484371b897ebbfb5a7ac75ee68 Mon Sep 17 00:00:00 2001 From: fincap Date: Sat, 14 Nov 2020 17:02:29 +1100 Subject: [PATCH] Added .spec file for Windows compilation. --- png-to-jpeg.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 png-to-jpeg.spec diff --git a/png-to-jpeg.spec b/png-to-jpeg.spec new file mode 100644 index 0000000..61ffabd --- /dev/null +++ b/png-to-jpeg.spec @@ -0,0 +1,33 @@ +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + + +a = Analysis(['png-to-jpeg\\png-to-jpeg.py'], + pathex=['venv/Lib/site-packages', 'png-to-jpeg', 'D:\\dev\\png-to-jpeg'], + 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='png-to-jpeg', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False )