Skip to content

Commit 73c19fe

Browse files
committed
ci: Add GitHub Actions workflow for build and release
1 parent a106133 commit 73c19fe

17 files changed

+242646
-3
lines changed

extra/analytics/analytics.exe

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:b814bdc6e90d91ed480265508c29dfc8272f72c7a812810ced6562dbb7cd485c
3-
size 57513663
2+
oid sha256:4c59df64f7c79f59469adcc1d365bf9b1e34d00ebb12e9ee15fb91e08be1d160
3+
size 268167194

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openipc-dashboard",
3-
"version": "2.7.1",
3+
"version": "2.7.2",
44
"description": "App for managing OpenIPC cameras",
55
"main": "main.js",
66
"scripts": {

python_src/analytics.spec

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
# --- НАЧАЛО БЛОКА КОНФИГУРАЦИИ ---
4+
5+
# Ваш путь к папке site-packages
6+
site_packages_path = 'C:\\Users\\vavol\\AppData\\Roaming\\Python\\Python313\\site-packages'
7+
8+
# Список "скрытых" импортов
9+
hidden_imports_list = [
10+
'ultralytics', 'ultralytics.engine.results', 'ultralytics.utils',
11+
'torch', 'torchvision', 'cv2', 'numpy', 'yaml', 'tqdm',
12+
'pandas', 'seaborn', 'matplotlib', 'scipy', 'psutil'
13+
]
14+
15+
# Список файлов с данными (если нужны)
16+
datas_list = []
17+
18+
# --- КОНЕЦ БЛОКА КОНФИГУРАЦИИ ---
19+
20+
21+
a = Analysis(
22+
['analytics.py'],
23+
pathex=[site_packages_path],
24+
binaries=[],
25+
datas=datas_list,
26+
hiddenimports=hidden_imports_list,
27+
hookspath=[],
28+
hooksconfig={},
29+
runtime_hooks=[],
30+
excludes=[],
31+
noarchive=False,
32+
optimize=0,
33+
)
34+
pyz = PYZ(a.pure)
35+
36+
# Главная секция для сборки в ОДИН ФАЙЛ
37+
exe = EXE(
38+
pyz,
39+
a.scripts,
40+
a.binaries,
41+
a.datas,
42+
[],
43+
name='analytics',
44+
debug=False,
45+
bootloader_ignore_signals=False,
46+
strip=False,
47+
upx=True,
48+
console=True, # Оставляем True для отладки
49+
disable_windowed_traceback=False,
50+
argv_emulation=False,
51+
target_arch=None,
52+
codesign_identity=None,
53+
entitlements_file=None,
54+
)

0 commit comments

Comments
 (0)