Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cx_freeze script and mods to .nsi for windows build -> issue 19 fix.
- Loading branch information
Klaatu
committed
Jun 5, 2016
1 parent
3b0dfe0
commit 266d39f
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,46 @@ | ||
Packagers | ||
========= | ||
|
||
Linux | ||
----- | ||
|
||
|
||
|
||
|
||
|
||
|
||
Windows | ||
------- | ||
|
||
You have to package for Windows from Windows, so if you don't have Windows then | ||
you cannot, I guess, package this application for it. If you try to package it on WINE and have success, let us know!! | ||
|
||
Requirements | ||
++++++++++++ | ||
|
||
To package on Windows, you must install these packages from the thirdparty directory: | ||
|
||
* python 2.x | ||
* nsis | ||
* wxpython | ||
|
||
as well as: | ||
|
||
* `cx_freeze <https://sourceforge.net/projects/cx-freeze/>`_ | ||
|
||
|
||
Build | ||
+++++ | ||
|
||
1. Build the project from a DOS (*not* Cygwin or BASH) shell: | ||
|
||
.. code:: | ||
python setup.win.py build | ||
|
||
2. This produces ``build\exe.win32-2.7`` | ||
|
||
3. Launch NSIS and choose ``Compile NSI Scripts`` | ||
|
||
4. Drag-and-drop the stopgo.nsi script into the NSIS window. | ||
|
||
5. You now have ``stopgo-installer.exe``. It should be megabytes in size. If it is less than a few megabytes, you have done something wrong (probably you moved the ``.nsi`` script; it wants to co-exist with the ``exe.win32-2.7`` directory. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters