Skip to content

Packaging instructions

skython edited this page May 24, 2011 · 10 revisions

Packaging instructions

Ubuntu

Prerequisites

To build the Debian/Ubuntu package following packages need to be installed

  • fakeroot

  • dh-make

  • python-setuptools

Building the deb package

Checkout the code via git or download a source package

Switch over to the installs/debian/ubuntu directory within your exe directory and start the make.py script

When the make script has finished the deb package can be found inside of the parent directory of your eXe directory

Copy & Paste download and build lines

apt-get install git-core fakeroot dh-make python-setuptools
git clone git://github.com/skython/eXe.git
cd eXe/installs/debian/ubuntu
./make.py

OS X

Checkout the code via git or download a source package.

Download the current Firefox dmg image and place the app into exe/webui/firefox/ (create folder if doesn't exist).

Make sure that PIL(Python Image Library) is installed, you can install it by running:

easy_install PIL

If you have an x86(Intel) based mac try running:

ARCHFLAGS="-arch i386 -arch x86_64" easy_install PIL

Change the directory to installs/osx and run:

python make.py

Windows

The instructions are for python 2.7 but should also work with python 2.4 - 2.6

For checking out the code there is a nice graphical version of Git called: TortoiseGit

Prerequisites

Following applications and libraries are needed to make a executable version of eXe for Windows.

Make sure to download the libraries for the correct Python version and your platform e.g. ending with py2.7

Building the standalone and installer version of eXe

Download and install all prerequisites.

Firefox can be either directly installed in exe\webui\Mozilla Firefox or copied there after the installation.

A python make script can be found in installs\windows\make.py.

If NSIS isn't installed in C:\Program Files\NSIS or the installation path is not in the PATH environment variable, the path has to be set manually in the make.py script to fit the NSIS installation.

If there are errors in the build process try to execute make.py with the windows command-line directly to prevent the command-line window from closing to be able to see warnings and errors