xref: /aoo42x/main/pyuno/demo/pyunoenv.tcsh (revision 9f22d7c2)
1# *************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20# *************************************************************
21
22# the path to the office installation (e.g. /home/joe/OpenOffice.org1.1Beta)
23setenv OOOHOME /src4/OpenOffice.org1.1Beta2
24
25# don't modify anything beyond these lines
26#---------------------------------------------
27setenv PYTHONHOME $OOOHOME/program/python
28
29if( ! $?LD_LIBRARY_PATH  ) then
30    setenv LD_LIBRARY_PATH
31endif
32
33if(! $?PYTHONPATH ) then
34    setenv PYTHONPATH
35endif
36
37if( ! $?LD_LIBRARY_PATH ) then
38setenv LD_LIBRARY_PATH
39endif
40
41if( "$PYTHONPATH" != "" ) then
42	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib:$PYTHONPATH
43else
44	setenv PYTHONPATH $OOOHOME/program:$OOOHOME/program/pydemo:$OOOHOME/program/python/lib
45endif
46
47setenv LD_LIBRARY_PATH $OOOHOME/program:$LD_LIBRARY_PATH
48
49if( $?PYTHONHOME ) then
50setenv PATH $PYTHONHOME/bin:$PATH
51endif
52