====== Création d'un executable HABBY ====== ===== Windows ====== ==== Pre-requis ===== * Librairie pyinstaller installée dans l'environnement Python * Installer Inno Script Studio à partir de ce lien https://www.kymoto.org/products/inno-script-studio/downloads * Installer Inno Setup à partir de ce lien https://jrsoftware.org/isdl.php ==== Step-by-step ===== pyinstaller tips/executables/habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp robocopy biology build/pyinstaller/habby/biology /E > nul robocopy doc build/pyinstaller/habby/doc /E > nul robocopy model_hydro build/pyinstaller/habby/model_hydro /E > nul robocopy translation build/pyinstaller/habby/translation /E > nul robocopy file_dep build/pyinstaller/habby/file_dep /E > nul :: setup file start "" /w "C:\Program Files (x86)\Inno Script Studio\isstudio.exe" -compile tips\executables\setup_from_pyinstaller.iss ===== Linux ===== pyinstaller tips/executables/habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp 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 ===== FIXME {{indexmenu_n>5}}