diff options
| author | chzhang <zch921005@126.com> | 2022-11-13 17:29:28 +0800 |
|---|---|---|
| committer | chzhang <zch921005@126.com> | 2022-11-13 17:29:28 +0800 |
| commit | 8871692049e6139a50b3ac03b9b8555d27d5b022 (patch) | |
| tree | 4343321c25adff8c3d4c2d92cb8a7c336446896c /app/date_demo2.spec | |
| parent | 2984427d2a88445b8388ffcafd94d1b4d7214ff7 (diff) | |
pyinstaller app 开发
Diffstat (limited to 'app/date_demo2.spec')
| -rw-r--r-- | app/date_demo2.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/app/date_demo2.spec b/app/date_demo2.spec new file mode 100644 index 0000000..d2499d1 --- /dev/null +++ b/app/date_demo2.spec @@ -0,0 +1,50 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['date_demo2.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + 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='date_demo2', + 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='date_demo2.app', + icon=None, + bundle_identifier=None, +) |
