fr:develop:collaboration:dev:executable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
fr:develop:collaboration:dev:executable [2021/03/30 17:03] qroyerfr:develop:collaboration:dev:executable [2021/10/20 11:23] qroyer
Line 3: Line 3:
 ===== Windows ====== ===== Windows ======
  
 +==== Pre-requis =====
 +
 +  * Librairie pyinstaller installé 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 ===== ===== Linux =====
  
-   pyinstaller habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp +  pyinstaller tips/executables/habby.spec --distpath=build/pyinstaller --workpath=build/pyinstaller/temp 
-   cp -r biology build/pyinstaller/habby/biology +  cp -r biology build/pyinstaller/habby/biology 
-   cp -r doc build/pyinstaller/habby/doc +  cp -r doc build/pyinstaller/habby/doc 
-   cp -r model_hydro build/pyinstaller/habby/model_hydro +  cp -r model_hydro build/pyinstaller/habby/model_hydro 
-   cp -r translation build/pyinstaller/habby/translation   +  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 =====
  
 +FIXME
  
 +{{indexmenu_n>5}}
  • fr/develop/collaboration/dev/executable.txt
  • Last modified: 2021/10/20 11:23
  • by qroyer