Installing pNbody from pip

A default installation can be done by simply running pip:

pip install ./pNbody

where ./pNbody is the directory cloned from gitlab. Installing pNbody in a specific directory can be achieved with the --prefix option:

pip install --prefix=/where/you/want/to/install/it ./pNbody

More specific installation

To achieve a more specific installation, edit the setup.py file and run pip as above.

Configuration

Make sure that your environment variables PATH and PYTHONPATH points towards the correct directories.