34 lines
949 B
Markdown
34 lines
949 B
Markdown
# SANEF Patch Manager v2
|
|
|
|
Gestion du patching Linux via Excel + SSH + vSphere (PyQt/Tkinter + PyInstaller).
|
|
|
|
## Prérequis
|
|
- Python 3.11+ sur Windows
|
|
- Accès réseau proxy SANEF : `http://proxy.sanef.fr:8080`
|
|
|
|
## Installation des dépendances
|
|
```
|
|
py -m pip install -r requirements.txt --proxy http://proxy.sanef.fr:8080
|
|
```
|
|
|
|
## Exécution depuis les sources
|
|
```
|
|
py patch_manager_v2.py
|
|
```
|
|
|
|
## Build de l'exécutable (PyInstaller)
|
|
```
|
|
py -m PyInstaller patch_manager_v2.spec --clean --noconfirm
|
|
```
|
|
L'exe généré : `dist/SANEF_Patch_Manager.exe`
|
|
|
|
## Archive packagée
|
|
`dist/SANEF_Patch_Manager.7z` contient l'exe prêt à distribuer.
|
|
|
|
## Fichiers
|
|
- `patch_manager_v2.py` — code principal
|
|
- `patch_manager_v2.spec` — config PyInstaller
|
|
- `patch_manager_v2_backup_before_theme.py` — backup avant refonte thème
|
|
- `requirements.txt` — dépendances Python
|
|
- `build/`, `dist/` — artefacts PyInstaller (inclus dans le repo pour récup rapide)
|