diff options
Diffstat (limited to 'pyuno/demo/pyunoenv.tcsh')
-rw-r--r-- | pyuno/demo/pyunoenv.tcsh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pyuno/demo/pyunoenv.tcsh b/pyuno/demo/pyunoenv.tcsh new file mode 100644 index 000000000000..da7206440a17 --- /dev/null +++ b/pyuno/demo/pyunoenv.tcsh @@ -0,0 +1,25 @@ +# the path to the office installation (e.g. /home/joe/OpenOffice.org643) +setenv OOOHOME + +# don't modify anything beyond these lines +#--------------------------------------------- +setenv PYTHONHOME $OOOHOME/program/python + +if( ! $?LD_LIBRARY_PATH ) then + setenv LD_LIBRARY_PATH +endif + +if(! $?PYTHONPATH ) then + setenv PYTHONPATH +endif + +if( ! $?LD_LIBRARY_PATH ) then +setenv LD_LIBRARY_PATH +endif + +setenv PYTHONPATH .:$OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH +setenv LD_LIBRARY_PATH $OOOHOME/program:$LD_LIBRARY_PATH + +if( $?PYTHONHOME ) then +setenv PATH $PYTHONHOME/bin:$PATH +endif |