6e8ee38aaf
2007/08/07 20:38:59 jbu 1.8.522.1: #i56236# fix the nameclash between the PYTHONPATH environment variable and the loader bootstrap parameter by adding the PYUNO_LOADER prefix
82 lines
2.6 KiB
Text
82 lines
2.6 KiB
Text
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: profileitem_python.scp,v $
|
|
*
|
|
* $Revision: 1.9 $
|
|
*
|
|
* last change: $Author: kz $ $Date: 2007-10-11 11:53:12 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************/
|
|
|
|
#include "macros.inc"
|
|
|
|
|
|
Profile gid_Profile_Pythonloader_Uno_Ini
|
|
ModuleID = gid_Module_Optional_Pyuno;
|
|
#ifdef UNX
|
|
Name = "pythonloader.unorc";
|
|
#else
|
|
Name = "pythonloader.uno.ini";
|
|
#endif
|
|
Dir = gid_Dir_Program;
|
|
Styles = (NETWORK);
|
|
End
|
|
|
|
#ifndef SYSTEM_PYTHON
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonhome
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
|
ModuleID = gid_Module_Optional_Pyuno;
|
|
Section = "Bootstrap";
|
|
Order = 1;
|
|
Key = "PYUNO_LOADER_PYTHONHOME";
|
|
Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
|
|
End
|
|
#endif
|
|
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonpath
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
|
ModuleID = gid_Module_Optional_Pyuno;
|
|
Section = "Bootstrap";
|
|
Order = 1;
|
|
Key = "PYUNO_LOADER_PYTHONPATH";
|
|
#ifdef SYSTEM_PYTHON
|
|
Value = "$ORIGIN";
|
|
#else
|
|
#ifdef UNX
|
|
Value = CONCAT9($ORIGIN/python-core-,PYVERSION,
|
|
/lib $ORIGIN/python-core-,PYVERSION,
|
|
/lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
|
|
/lib/lib-tk $ORIGIN/python-core-,PYVERSION,
|
|
/lib/site-packages $ORIGIN);
|
|
#else
|
|
Value = STRING(CONCAT5($ORIGIN/python-core-,PYVERSION,
|
|
/lib $ORIGIN/python-core-,PYVERSION,
|
|
/lib/site-packages $ORIGIN));
|
|
#endif
|
|
#endif
|
|
End
|