-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPCWorkman.spec
More file actions
77 lines (71 loc) · 2.72 KB
/
PCWorkman.spec
File metadata and controls
77 lines (71 loc) · 2.72 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
66
67
68
69
70
71
72
73
74
75
76
77
# -*- mode: python ; coding: utf-8 -*-
import os
block_cipher = None
project_root = os.path.dirname(os.path.abspath(SPEC))
datas = [
(os.path.join(project_root, 'data', 'icons'), os.path.join('data', 'icons')),
(os.path.join(project_root, 'data', 'process_info'), os.path.join('data', 'process_info')),
(os.path.join(project_root, 'data', 'services_config.json'), 'data'),
(os.path.join(project_root, 'data', 'process_library.json'), 'data'),
(os.path.join(project_root, 'assets'), 'assets'),
]
hiddenimports = [
'PIL.Image', 'PIL.ImageTk', 'PIL.ImageDraw',
'pystray._win32',
'matplotlib.backends.backend_tkagg',
'core', 'core.monitor', 'core.logger', 'core.analyzer', 'core.scheduler',
'core.process_classifier', 'core.process_data_manager', 'core.hardware_sensors',
'core.process_definitions', 'core.hardware_detector',
'ui', 'ui.theme', 'ui.dialogs', 'ui.splash_screen', 'ui.system_tray',
'ui.overlay_widget', 'ui.overlay_mini_monitor',
'ui.windows', 'ui.windows.main_window', 'ui.windows.main_window_expanded',
'ui.components', 'ui.components.led_bars', 'ui.components.charts',
'ui.components.expandable_list', 'ui.components.process_tooltip',
'ui.components.sensor_tree', 'ui.components.hardware_graphs',
'ui.components.fan_curve_editor', 'ui.components.fan_dashboard',
'ui.components.pro_info_table', 'ui.components.sidebar_nav',
'ui.pages', 'ui.pages.page_all_stats', 'ui.pages.page_day_stats',
'ui.pages.optimization_services', 'ui.pages.monitoring_alerts',
'ui.pages.stability_tests', 'ui.pages.first_setup_drivers',
'hck_stats_engine', 'hck_stats_engine.avg_calculator',
'hck_stats_engine.db_manager', 'hck_stats_engine.aggregator',
'hck_stats_engine.process_aggregator', 'hck_stats_engine.query_api',
'hck_stats_engine.events', 'hck_stats_engine.constants',
'hck_gpt', 'hck_gpt.services_manager', 'hck_gpt.service_setup_wizard',
'hck_gpt.chat_handler', 'hck_gpt.insights', 'hck_gpt.panel',
'utils', 'utils.fonts',
'import_core',
]
a = Analysis(
[os.path.join(project_root, 'startup.py')],
pathex=[project_root],
binaries=[],
datas=datas,
hiddenimports=hiddenimports,
hookspath=[],
runtime_hooks=[os.path.join(project_root, 'pyi_rth_subprocess.py')],
excludes=['test', 'tests', 'pytest'],
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='PC Workman HCK',
debug=False,
strip=False,
upx=True,
console=True,
icon=os.path.join(project_root, 'data', 'icons', 'HCKintro.png'),
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='.',
)