Repository navigation
Expand file tree
/
Copy pathmain.spec
More file actions
65 lines (59 loc) · 2.14 KB
/
Copy pathmain.spec
File metadata and controls
65 lines (59 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=['.'],
binaries=[],
datas=[],
hiddenimports=['tkinter', 'tkinter.ttk'],
hookspath=[],
runtime_hooks=[],
excludes=['PySide6'],
noarchive=False,
optimize=2
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='ProjectHelperTk',
debug=False,
bootloader_ignore_signals=False,
strip=True,
upx=True,
console=False,
icon=None
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=True,
upx=True,
name='ProjectHelperTk'
)
app = BUNDLE(
coll,
name='ProjectHelperTk.app',
icon=None,
bundle_identifier='com.projecthelper.tk',
info_plist={
'CFBundleName': 'ProjectHelperTk',
'CFBundleDisplayName': 'ProjectHelperTk',
'CFBundleGetInfoString': 'ProjectHelperTk',
'CFBundleIdentifier': 'com.projecthelper.tk',
'CFBundleVersion': '1.0.1',
'CFBundleShortVersionString': '1.0.1',
# macOS privacy permission prompts
'NSDesktopFolderUsageDescription': 'ProjectHelper needs access to your Desktop folder to read and save project files.',
'NSDocumentsFolderUsageDescription': 'ProjectHelper needs access to your Documents folder to open and store project files.',
'NSDownloadsFolderUsageDescription': 'ProjectHelper needs access to your Downloads folder to import downloaded resources.',
'NSPicturesFolderUsageDescription': 'ProjectHelper needs access to your Pictures folder to manage image assets.',
'NSMoviesFolderUsageDescription': 'ProjectHelper needs access to your Movies folder to handle video assets.',
'NSMusicFolderUsageDescription': 'ProjectHelper needs access to your Music folder to associate audio resources.',
'NSNetworkVolumesUsageDescription': 'ProjectHelper needs access to network volumes to open and save projects stored on shared drives.',
'NSRemovableVolumesUsageDescription': 'ProjectHelper needs access to removable drives (USB, external disks) to import and export projects.'
}
)