1.2. Installation

1.2.1. Using subversion Download the code

The code is hosted on a GitHub repository. It can be downloaded as follows:

git clone https://github.com/barriern/PyPago.git

The code can be updated as follows:

git pull Install the code

In your .bashrc file, add the destination directory to your PYTHONPATH:

export PYTHONPATH=$PYTHONPATH:/home/nbarrier/Bureau/test_pypago/lib/python


You must add lib/python at the end of your destination directory

Then, from the pago directory, run the setup.py file as follows:

python setup.py install --home=/home/nbarrier/Bureau/test_pypago

Finally, in your .bashrc file, add the location of the bin directory to your PATH:

export PATH=$PATH:/home/nbarrier/Bureau/test_pypago/bin

The latter will allow you to run the different executable scripts that come with PyPAGO