wiki:InstallationLinuxDevelop

Installation Linux Develop

Back to Installation using Prepacked Modules

Latest ObsPy version via SVN (recommended for developers)

This installation method will install the latest developer version from ObsPy and requires on your computer:

  • a SVN client,
  • a preconfigured C/Fortran compiler,
  • certain system libraries and header files (e.g. Python header files ...).

Checkout the latest developer version using a SVN client on the command line:

svn checkout https://svn.obspy.org/trunk obspy

Make sure you have a recent version of distribute installed:

easy_install -U distribute

If you are working with an virtual Python environment the above might fail and you have to install distribute from source (see also  here):

cd /tmp
curl -O http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz
tar -xzvf distribute-0.6.24.tar.gz
cd distribute-0.6.24
python setup.py install --prefix=/path/to/virtual/environment  # e.g. --prefix=$HOME/local

All ObsPy packages must now be linked to the current Python instance by running the following command within each module. The commands must be executed as root or within a virtual environment (see link above):

python setup.py develop -N -U

Note: Calling python setup.py develop in each module is quite a workout. Therefore we provide simple helper scripts develop.sh in the trunk/misc/scripts directory.