Installation

Instructions

From the online svn repository

These steps are to be followed if you want to install the latest version.

First get a local copy of FPlaneServer, you can checkout the repository with:

svn checkout svn://luna.mpe.mpg.de/fplaneserver/trunk fplaneserver

Similarly you can check out any branch. Now you can install with:

pip install /path/to/fplaneserver

or:

cd /path/to/fplaneserver
pip install .

It’s also possible to install fplaneserver directly from the svn repository without checking it out:

pip install svn+svn://luna.mpe.mpg.de/fplaneserver/trunk#egg=fplaneserver

If necessary replace trunk with the desired tag or branch to checkout and install.

Dependances

Mandatory dependences

werkzeug
flask
flask_login
peewee
pyopenssl
gunicorn

Python dependencies

  • testing:

    robotframework
    robotframework-requests
    coverage>=4.2
    
    tox  # for automatizing the tests
    tox-pyenv
    
  • documentation:

    sphinx
    numpydoc
    alabaster
    pyhetdex
    
  • automatic documentation build:

    sphinx-autobuild => 0.5.2
    

Development

If you develop fplaneserver we suggest you checkout the svn repository and install them in “editable” mode . We also recommend installing all of the optional dependances:

cd /path/to/fplaneserver
pip install -e .

See Contribute to FPlaneServer for more information.

Notes and problems

  • It is possible to change the version to install from svn by selecting a specific commit:

    pip install svn+svn://luna.mpe.mpg.de/fplaneserver//trunk@5#egg=fplaneserver
    

    or a different branch/tag:

    pip install svn+svn://luna.mpe.mpg.de/fplaneserver/tag/v0.0.0#egg=fplaneserver
    
  • If the installation gets interrupted with an error like:

    ImportError: No module named 'flask'
    

    run pip install flask and then retry fplaneserver installation