-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuitka.config.cfg
More file actions
68 lines (59 loc) · 2.2 KB
/
Copy pathnuitka.config.cfg
File metadata and controls
68 lines (59 loc) · 2.2 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
# nuitka.config.cfg
# -----------------------------------------------------------------------------
# Configuration declarative Nuitka pour CineSort (V2.5 build hybride).
#
# Backward compat : ce fichier est OPT-IN et lu uniquement par les builds
# Nuitka. PyInstaller (CineSort.spec) n'en depend PAS et reste l'officiel.
#
# Format YAML reconnu par Nuitka (--user-package-configuration-file).
# Documentation : https://nuitka.net/user-documentation/user-yaml.html
# -----------------------------------------------------------------------------
# Exclusions explicites (alignees sur CineSort.spec, section "excludes").
# Bien que les flags CLI --nofollow-import-to suffisent dans le workflow,
# ce fichier sert de reference si un mainteneur lance Nuitka sans passer
# par scripts/build_nuitka.ps1 ou .github/workflows/release.yml.
- module-name: 'torch'
anti-dependency:
- description: 'CineSort utilise onnxruntime, pas torch. La stack CUDA (3.5 GB) doit etre exclue.'
enabled: 'yes'
when: 'always'
- module-name: 'torch.cuda'
anti-dependency:
- description: 'Exclusion explicite pour eviter CUDA si torch est ajoute en futur.'
enabled: 'yes'
when: 'always'
- module-name: 'torch.distributed'
anti-dependency:
- description: 'Distributed training non utilise.'
enabled: 'yes'
when: 'always'
- module-name: 'nvidia'
anti-dependency:
- description: 'Stack NVIDIA (cublas, cudnn, etc.) non utilisee.'
enabled: 'yes'
when: 'always'
- module-name: 'tensorflow'
anti-dependency:
- description: 'Pas d''import direct dans cinesort/.'
enabled: 'yes'
when: 'always'
- module-name: 'scipy'
anti-dependency:
- description: 'Pas d''import direct, peut etre tire par hooks tiers.'
enabled: 'yes'
when: 'always'
- module-name: 'tkinter'
anti-dependency:
- description: 'CineSort utilise pywebview, pas Tk.'
enabled: 'yes'
when: 'always'
- module-name: 'pytest'
anti-dependency:
- description: 'Test runner, jamais necessaire au runtime.'
enabled: 'yes'
when: 'always'
- module-name: 'playwright'
anti-dependency:
- description: 'Test E2E uniquement, jamais embarque.'
enabled: 'yes'
when: 'always'