diff --git a/src/ygt-macos.spec b/src/ygt-macos.spec new file mode 100755 index 0000000..fd2d8ad --- /dev/null +++ b/src/ygt-macos.spec @@ -0,0 +1,51 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['ygt.py'], + pathex=[], + binaries=[], + datas=[('ygt/icons/*.png', 'icons'), ('ygt/fonts/*.ttf', 'fonts')], + hiddenimports=[], + hookspath=['hooks'], + 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, + a.binaries, + a.zipfiles, + a.datas, + [], + name='ygt', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) +app = BUNDLE( + exe, + name='ygt.app', + icon='icons/ygt.ico', + bundle_identifier=None, + console=False, +) diff --git a/src/ygt-win.spec b/src/ygt-win.spec new file mode 100755 index 0000000..db9fb46 --- /dev/null +++ b/src/ygt-win.spec @@ -0,0 +1,45 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['ygt.py'], + pathex=[], + binaries=[], + datas=[('ygt/icons/*.png', 'icons'), ('ygt/fonts/*.ttf', 'fonts')], + hiddenimports=[], + hookspath=['hooks'], + 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, + a.binaries, + a.zipfiles, + a.datas, + [], + name='ygt', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=False, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, + icon=['C:\\Users\\colle\\python\\ygt-main\\src\\icons\\ygt.ico'], +)