Install from Mercurial on Linux

This article describes how to get the latest source from mercurial to develop or test parpg on Linux systems.

Install Prerequisites

 * 1) At least Python 2.6. This is probably installed already.
 * 2) You need to install PyYaml. (sudo easy_install pyyaml)

Install Mercurial client
Check the package manager of you distribution. You will need a version >= 1.5

Mercurial extensions
You will need to install and/or activate the following mercurial extensions before cloning a repository:
 * EolExtension

Install Subversion Client
You also will need a subversion(SVN) client to be able to clone the repository containing the runnable version. If you don't have an SVN client installed yet check the package manager of you distribution.

Download and install FIFE trunk
PARPG uses the FIFEngine. You will need to get fife from svn with at least revision 3853. For instructions on how to install fife check this: http://wiki.fifengine.net/Building:Linux:SCons

Clone the PARPG repository
There are 2 repositories which should be of interest to you:

The development repository: http://hg.assembla.com/parpg-core This contains the parpg source files as well as additional files for development, such as unit tests or the pylint file.

The app repository: http://hg.assembla.com/parpg-app This contains the parpg source files, the data files and files that can be used to run/test parpg. This one will need an svn client in addition to the mercurial client.

To clone the repository follow these instructions:


 * 1) CD to the directory that you want to contain the parpg directory
 * 2) Type the following command, where  is the URL of the repository you want to clone. Hg clone  A directory will automatically be created.
 * 3) Especially for the app repository this may take a while.
 * 4) Now you are ready to test/develop parpg.

Run PARPG
If you cloned the app repository you can run PARPG by calling parpg.py from the command line.