SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Namespaces | Functions
spr_version.py File Reference

Set, modify or report the current version of SPRAAK. More...

Namespaces

 spr_version
 

Functions

def spr_version.cond_sel
 
def spr_version.spr_arch
 we have to give a unique name to a processor family More...
 

Detailed Description

Set, modify or report the current version of SPRAAK.

  spr_version.py
  eval `spr_version.py <version> [alt_config]`
  eval `spr_version.py <path_to_spraak_home> [alt_config]`

The call without arguments will report the current version (in the form of the path to the binaries/programs). The two other versions will set or modify the current SPRAAK version by setting or changing the following environment variables:

SPR_HOME
path to the choosen SPRAAK version/installation
SPR_ARCH
selected binary version (OS and CPU dependent, and configuration dependent, e.g. the debug version)
PATH
location of the SPRAAK scripts ($SPR_HOME/bin) and binaries ($SPR_HOME/bin/$SPR_ARCH) is added
LD_LIBRARY_PATH
location of the SPRAAK library ($SPR_HOME/lib/$SPR_ARCH) is added
PYTHONPATH
location of the SPRAAK python library ($SPR_HOME/bin) is added

If a full path is not given, the script will work relative from the previously choosen version (usefull to switch between various versions) or from the location of the 'spr_version.py' script itself. The last form is e.g. handy for configuring SPRAAK in a login script.

Author
Kris Demuynck