compiling installer / run from source code on Win

Asked by andrekos

Is it possible to add a txt file e.g. here ,
http://bazaar.launchpad.net/~jendrikseipp/rednotebook/trunk/files/head:/win/
with more or less detailed instructions for creating the Installer under Windows? Is this information available elsewhere e.g. if it's a standard procedure?

Also, is it possible to have details on what should be installed /done to run RNB from Python source on Windows? See http://www.giuspen.com/cherrytree/#dev at the bottom for an example of similar instructions. I would like to learn to contribute but don't want to get stuck in the very beginning. Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#1

You're right, thanks for the comment. I added a README.txt file in the
win directory and will list its contents below. Can you please report if
the instructions work?

Windows
=======

     # Install dependencies.
     C:\\Python27\python.exe create-build-env.py

     # Run.
     C:\\Python27\python.exe rednotebook\journal.py

Linux
=====

     BUILD_ENV_TARBALL=/tmp/rn-build-env.tar.gz
     BUILD_ENV=/tmp/rn-build-env

     # Install all dependencies in a wine environment and zip it.
     ./create-build-env.py $BUILD_ENV_TARBALL

     # Unzip tarball to create build environment and build windows
     # executable in it.
     ./cross-compile-exe.py $BUILD_ENV_TARBALL $BUILD_ENV

     # Build windows installer for version 1.8.0.
     ./build-installer.py $BUILD_ENV 1.8.0

     # Do all of the steps above at once.
     ./release.py $BUILD_ENV_TARBALL $BUILD_ENV

Can you help with this problem?

Provide an answer of your own, or ask andrekos for more information if necessary.

To post a message you must log in.