source: issm/oecreview/Archive/12678-13393/ISSM-13188-13189.diff@ 14312

Last change on this file since 14312 was 13394, checked in by Mathieu Morlighem, 13 years ago

Added 12678-13393

File size: 1.3 KB
  • u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/startup.py

     
    4242                                file=os.path.splitext(file)[0]
    4343                                #__import__(file)
    4444                               
    45 sys.path.append(ISSM_DIR + '/src/modules/python')
     45sys.path.append(ISSM_DIR + '/lib')
    4646
    4747#Deal with scipy import:
    4848import scipy
  • u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/etc/environment.sh

     
    200200
    201201PYTHON_DIR="$ISSM_DIR/externalpackages/python/install"
    202202if [ -d "$PYTHON_DIR" ]; then
    203         export PYTHONPATH="$PYTHONPATH:$ISSM_DIR/src/modules/python"
     203        export PYTHONPATH="$PYTHONPATH:$ISSM_DIR/lib"
    204204        export PYTHONSTARTUP="$ISSM_DIR/startup.py"
    205205        pathprepend    "$PYTHON_DIR/bin"
    206         libpathprepend "$ISSM_DIR/src/modules/python"
     206        libpathprepend "$ISSM_DIR/lib"
    207207        libpathprepend "$PYTHON_DIR/lib"
    208208fi
    209209
Note: See TracBrowser for help on using the repository browser.