Skip to content

Commit c744f32

Browse files
committed
Adds .spec
1 parent d29182a commit c744f32

2 files changed

Lines changed: 64 additions & 1 deletion

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ MANIFEST
3838
# Usually these files are written by a python script from a template
3939
# before PyInstaller builds the exe, so as to inject date/other infos into it.
4040
*.manifest
41-
*.spec
4241

4342
# Installer logs
4443
pip-log.txt

pyinstaller.spec

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
import sys
3+
from pathlib import Path
4+
5+
block_cipher = None
6+
7+
a = Analysis(
8+
['main.py'],
9+
pathex=[],
10+
binaries=[],
11+
datas=[
12+
('translations', 'translations'),
13+
('data', 'data'),
14+
('plugins', 'plugins'),
15+
('config', 'config'),
16+
],
17+
hiddenimports=[
18+
'customtkinter',
19+
'CTkMessagebox',
20+
'PIL',
21+
],
22+
hookspath=[],
23+
hooksconfig={},
24+
runtime_hooks=[],
25+
excludedimports=[],
26+
win_no_prefer_redirects=False,
27+
win_private_assemblies=False,
28+
cipher=block_cipher,
29+
noarchive=False,
30+
)
31+
32+
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
33+
34+
exe = EXE(
35+
pyz,
36+
a.scripts,
37+
a.binaries,
38+
a.zipfiles,
39+
a.datas,
40+
[],
41+
name='CTkDesigner',
42+
debug=False,
43+
bootloader_ignore_signals=False,
44+
strip=False,
45+
upx=True,
46+
upx_exclude=[],
47+
runtime_tmpdir=None,
48+
console=False,
49+
disable_windowed_traceback=False,
50+
target_arch=None,
51+
codesign_identity=None,
52+
entitlements_file=None,
53+
)
54+
55+
coll = COLLECT(
56+
exe,
57+
a.binaries,
58+
a.zipfiles,
59+
a.datas,
60+
strip=False,
61+
upx=True,
62+
upx_exclude=[],
63+
name='CTkDesigner',
64+
)

0 commit comments

Comments
 (0)