python2.7 951 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#%Module######################################################################
#
# python2.7 modulefile 20160115
#

proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use python2.7."
puts stderr "You could use biopython with that version."
puts stderr "The program python2.7"
puts stderr "is added to PATH."
}


set is_module_rm [module-info mode remove]

set PYTHON_LEVEL 2.7
set PYTHON_CURPATH /opt/python
set PYTHON_SHARE_LIBS /share/apps/lib/python
setenv PYTHONPATH  $PYTHON_CURPATH/lib:$PYTHON_SHARE_LIBS/lib/python$PYTHON_LEVEL/site-packages:$PYTHON_CURPATH/lib/python$PYTHON_LEVEL/site-packages

unset-alias python
set-alias python python2.7

prepend-path PATH       $PYTHON_CURPATH/bin/:$PYTHON_SHARE_LIBS/bin
prepend-path LD_LIBRARY_PATH  $PYTHON_CURPATH/lib/python$PYTHON_LEVEL
prepend-path MANPATH      $PYTHON_CURPATH/share/man

append-path  PE_PRODUCT_LIST  PYTHON2.7