Skip to content

Commit

Permalink
Added .spec file for Windows compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fincap committed Nov 14, 2020
1 parent 97afe25 commit 909fba2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions png-to-jpeg.spec
Original file line number Diff line number Diff line change
@@ -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 )

0 comments on commit 909fba2

Please sign in to comment.