This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| fr:develop:collaboration:dev:executable [2021/09/28 16:15] – qroyer | fr:develop:collaboration:dev:executable [2026/06/03 17:03] (current) – ylecoarer |
|---|
| ===== Windows ====== | ===== Windows ====== |
| |
| pyinstaller tips/executables/habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp | ==== Pre-requis ===== |
| robocopy biology build/pyinstaller/habby/biology /E > nul | |
| robocopy doc build/pyinstaller/habby/doc /E > nul | * Librairie pyinstaller installée dans l'environnement Python |
| robocopy model_hydro build/pyinstaller/habby/model_hydro /E > nul | * Installer Inno Script Studio à partir de ce lien https://www.kymoto.org/products/inno-script-studio/downloads |
| robocopy translation build/pyinstaller/habby/translation /E > nul | * Installer Inno Setup à partir de ce lien https://jrsoftware.org/isdl.php |
| robocopy file_dep build/pyinstaller/habby/file_dep /E > nul | |
| :: setup file | ==== Windows ===== |
| start "" /w "C:\Program Files (x86)\Inno Script Studio\isstudio.exe" -compile tips\executables\setup_from_pyinstaller.iss | C:\habby_dev\habby\tips\executables\habby_to_exe_to_setup_pyinstaller.cmd |
| |
| ===== Linux ===== | ===== Linux ===== |
| |
| pyinstaller tips/executables/habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp | C:\habby_dev\habby\tips\executables\habby_to_exe_to_setup_pyinstaller.sh |
| cp -r biology build/pyinstaller/habby/biology | |
| cp -r doc build/pyinstaller/habby/doc | |
| cp -r model_hydro build/pyinstaller/habby/model_hydro | |
| cp -r translation build/pyinstaller/habby/translation | |
| cp -r file_dep build/pyinstaller/habby/file_dep | |
| :: zip file | |
| zip -r build/pyinstaller/habby.zip build/pyinstaller/habby | |
| |
| ===== Mac ===== | ===== Mac ===== |