Install

Warning

If you have not browsed the Requirements section already, please do so, to make sure you have installed all the requirements for FFPopSim.

The installation of the FFPopSim Python module is done via the programs Make and distutils. Please refer also to the INSTALL file if the instructions below do not satisfy your needs (or generate errors!).

Using the binaries

The simplest way to install FFPopSim is using the binaries provided for 32 and 64 bit Linux and Mac OSX (10.6+) systems. You can choose either way:

  1. copy manually the files from build/<your arch> into a folder included in your PYTHONPATH, where <your arch> is your architecture, i.e. Linux or Mac and 32 or 64 bit, or
  2. if you have distutils, install it system-wide, calling the following command as a superuser:
make python-install

Neither of these strategies will involve any building, hence you do not need GSL nor BOOST to install the binaries.

If you want to install FFPopSim using distutils, but into a different location than the standard third-party Python packages directory, you can call directly (if needed, as superuser):

python2.7 setup.py install --skip-build --install-lib=<target_dir>

where <target_dir> is the target installation directory.

Building FFPopSim locally

To build the module locally, call in your shell:

make python

This call creates the binaries for your system. You can follow the instructions above from this point on.

Testing FFPopSim

To test whether FFPopSim is installed correctly (and inserted into your PYTHONPATH), you can open Python2.7 in a new shell and call:

import FFPopSim

If you do not get any errors, the installation is successful. You can proceed to the First steps with FFPopSim section.

Troubleshooting

In case of problems with the installation, please check in the Requirements section that you have all necessary run-time packages.

Please consult the file INSTALL in the main package folder for further help.

Table Of Contents

Previous topic

Requirements

Next topic

First steps with FFPopSim

This Page