#!/bin/bash

# NEXT LINE: Replace <...> by the path to the ccpnmr/ folder
export CCPNMR_TOP_DIR="<PATH_TO_ccpnmr_FOLDER>"

export PYTHONPATH=".:${CCPNMR_TOP_DIR}/ccpnmr2.4/python"
export LD_LIBRARY_PATH="${CCPNMR_TOP_DIR}/tcl8.5/lib:${CCPNMR_TOP_DIR}/tk8.5/lib:${CCPNMR_TOP_DIR}/tcl8.5/lib/Tix8.4.3"
export DYLD_LIBRARY_PATH="${CCPNMR_TOP_DIR}/tcl8.5/lib:${CCPNMR_TOP_DIR}/tk8.5/lib:${CCPNMR_TOP_DIR}/tcl8.5/lib/Tix8.4.3"
export TCL_LIBRARY="${CCPNMR_TOP_DIR}/tcl8.5/lib/tcl8.5"
export TK_LIBRARY="${CCPNMR_TOP_DIR}/tk8.5/lib/tk8.5"
export TIX_LIBRARY="${CCPNMR_TOP_DIR}/tcl8.5/lib/Tix8.4.3"

# NEXT LINE: Replace <...> by the path to the aria2.3/ folder
export ARIA2="<PATH_TO_aria2.3_FOLDER>"

${CCPNMR_TOP_DIR}/python2.6/bin/python2.6 -O $ARIA2/aria2.py $*
