Add requirements.txt and README for rebuild

This commit is contained in:
Pierre & Lumière 2026-04-16 15:06:12 +02:00
parent 1c3cb60153
commit fb29b59625
2 changed files with 39 additions and 0 deletions

33
README.md Normal file
View File

@ -0,0 +1,33 @@
# 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)

6
requirements.txt Normal file
View File

@ -0,0 +1,6 @@
paramiko>=3.0
openpyxl>=3.1
requests>=2.31
pyVmomi>=8.0
ttkbootstrap>=1.10
pyinstaller>=6.0