python3.3 897 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
#%Module######################################################################
#
# python3.3 modulefile 20160115
#

proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use python3.3."
puts stderr "The program python3.3"
puts stderr "is added to PATH."
}


set is_module_rm [module-info mode remove]

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

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  PYTHON3.3
unset-alias python
set-alias python python3.3
set-alias python3 python3.3