| 1 |
Generating the windows installer *.msi |
| 2 |
-------------------------------------- |
| 3 |
|
| 4 |
Rewritten in December 2016 |
| 5 |
Removed in October 2024 |
| 6 |
|
| 7 |
I never got feedback from windows users, and I am not a |
| 8 |
Microsoft fan anyway ... |
| 9 |
|
| 10 |
Since the module msilib is removed in Python3.13, I would |
| 11 |
have to fix the windows installer. I prefer to remove it. |
| 12 |
|
| 13 |
If you want a windows installer - you are very welcome |
| 14 |
to write it and create a merge request at https://invent.kde.org/games/kajongg |
| 15 |
|
| 16 |
|
| 17 |
on the linux host: |
| 18 |
- cd kajongg/src |
| 19 |
- ./winprep.py # generates a directory "share" with files to be installed |
| 20 |
|
| 21 |
in the windows guest: |
| 22 |
- install Python3.5 |
| 23 |
- put Python3.5/scripts and Python3.5/DLLs into PATH |
| 24 |
- pip3 install --upgrade pip |
| 25 |
- pip3 install cx_freeze |
| 26 |
- pip3 install pyqt |
| 27 |
- pip3 install twisted |
| 28 |
- pip3 install sip |
| 29 |
- install pywin32 (right now pip does not offer a 32bit version for Python 3.5, download from sourceforge) |
| 30 |
- install Visual Studio 2015 Community Edition |
| 31 |
- setup a shared directory (visible for host and guest) "kajongg": a working copy of the git repository |
| 32 |
- cd kajongg/src |
| 33 |
- python kajongg.py must work |
| 34 |
- python setup.py bdist_msi |
| 35 |
|
| 36 |
the result is in kajongg/src/dist |