User Tools

Site Tools


proj:wininstallers

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
proj:wininstallers [2019/05/14 17:15]
admin [Make Package]
proj:wininstallers [2019/07/07 03:02] (current)
admin
Line 8: Line 8:
  
   * Update sofawin/​licence.txt if necessary   * Update sofawin/​licence.txt if necessary
-  * Change any versions at the top of sofawin/​1sofastats.nsi: +  * cd C:\sofa_dev_win\sofastatistics 
- +  * git pull (SSH passphrase "​matilda loves linux better"​)
-  * git pull into C:​\sofa_dev_win\sofastatistics+
   * bring across licence.txt if changed   * bring across licence.txt if changed
-  * Copy contents over C:​\sofa_dev_win\packaging\sofastats (leave behind tests and any exes such as convert.exe and wkhtmltopdf.exe)+  * Copy contents ​of C:​\sofa_dev_win\sofastatistics\sofastats ​over top of C:​\sofa_dev_win\packaging\sofastats (leaving ​behind tests, eclipse project files, __pycache__ folders, ​and any exes such as convert.exe and wkhtmltopdf.exe)
   * Eliminate debug = True (esp dev_debug = True in home.py)   * Eliminate debug = True (esp dev_debug = True in home.py)
-  * Change any versions at the top of 1sofastats.nsi:​ 
- 
-    !define SOFA_VERSION "​1.1.3"​ 
- 
   * Delete build and dist folders under C:​\sofa_dev_win\packaging\sofastats (to ensure clean build)   * Delete build and dist folders under C:​\sofa_dev_win\packaging\sofastats (to ensure clean build)
   * Create executable   * Create executable
  
-    ​cd C:​\sofa_dev_win\packaging\sofastats\ +  ​cd C:​\sofa_dev_win\packaging\sofastats\ 
-    pyinstaller sofastats.spec+  pyinstaller sofastats.spec
  
   * Under C:​\sofa_dev_win\packaging\sofastats\ copy everything but __pycache__,​ build, and dist into dist\sofastats.   * Under C:​\sofa_dev_win\packaging\sofastats\ copy everything but __pycache__,​ build, and dist into dist\sofastats.
 +  * Change the version at the top of In C:​\sofa_dev_win\1 sofastats.nsi:​
 +
 +  !define SOFA_VERSION "​1.5.2"​
 +
   * In C:​\sofa_dev_win\ right click on  "1 sofastats.nsi"​ and "​compile NSIS script"​ then click on "Test Installer"​ button.   * In C:​\sofa_dev_win\ right click on  "1 sofastats.nsi"​ and "​compile NSIS script"​ then click on "Test Installer"​ button.
   * Run SOFA from icon on Desktop   * Run SOFA from icon on Desktop
-  * (Assuming OK) copy sofastats-1.5.0_for_win.exe to the USB for safe-keeping+  * (Assuming OK) copy sofastats-1.5.2_for_win.exe to the USB for safe-keeping 
 +  * Compress to zip folder so sofastats-x.x.x_for_win.zip
 ===== Windows Development and Packaging ===== ===== Windows Development and Packaging =====
  
proj/wininstallers.1557868537.txt.gz · Last modified: 2019/05/14 17:15 by admin