xref: /trunk/main/pyuno/demo/pyunoenv.tcsh (revision cdf0e10c)
1*cdf0e10cSrcweir# the path to the office installation (e.g. /home/joe/OpenOffice.org1.1Beta)
2*cdf0e10cSrcweirsetenv OOOHOME /src4/OpenOffice.org1.1Beta2
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir# don't modify anything beyond these lines
5*cdf0e10cSrcweir#---------------------------------------------
6*cdf0e10cSrcweirsetenv PYTHONHOME $OOOHOME/program/python
7*cdf0e10cSrcweir
8*cdf0e10cSrcweirif( ! $?LD_LIBRARY_PATH  ) then
9*cdf0e10cSrcweir    setenv LD_LIBRARY_PATH
10*cdf0e10cSrcweirendif
11*cdf0e10cSrcweir
12*cdf0e10cSrcweirif(! $?PYTHONPATH ) then
13*cdf0e10cSrcweir    setenv PYTHONPATH
14*cdf0e10cSrcweirendif
15*cdf0e10cSrcweir
16*cdf0e10cSrcweirif( ! $?LD_LIBRARY_PATH ) then
17*cdf0e10cSrcweirsetenv LD_LIBRARY_PATH
18*cdf0e10cSrcweirendif
19*cdf0e10cSrcweir
20*cdf0e10cSrcweirif( "$PYTHONPATH" != "" ) then
21*cdf0e10cSrcweir	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
22*cdf0e10cSrcweirelse
23*cdf0e10cSrcweir	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib
24*cdf0e10cSrcweirendif
25*cdf0e10cSrcweir
26*cdf0e10cSrcweirsetenv LD_LIBRARY_PATH $OOOHOME/program:$LD_LIBRARY_PATH
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirif( $?PYTHONHOME ) then
29*cdf0e10cSrcweirsetenv PATH $PYTHONHOME/bin:$PATH
30*cdf0e10cSrcweirendif
31