office-gobmx/scp2/source/python/profileitem_python.scp

80 lines
2.5 KiB
Text
Raw Normal View History

2004-02-05 11:10:37 -06:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2004-02-05 11:10:37 -06:00
*
* $RCSfile: profileitem_python.scp,v $
2004-02-05 11:10:37 -06:00
*
* $Revision: 1.7 $
2004-02-05 11:10:37 -06:00
*
* last change: $Author: obo $ $Date: 2005-11-21 09:20:48 $
2004-02-05 11:10:37 -06:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2004-02-05 11:10:37 -06:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2004-02-05 11:10:37 -06:00
*
* 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.
2004-02-05 11:10:37 -06:00
*
* 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.
2004-02-05 11:10:37 -06:00
*
* 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
2004-02-05 11:10:37 -06:00
*
************************************************************************/
#include "macros.inc"
Profile gid_Profile_Pythonloader_Uno_Ini
ModuleID = gid_Module_Optional_Pyuno;
2004-02-05 11:10:37 -06:00
#ifdef UNX
Name = "pythonloader.unorc";
#else
Name = "pythonloader.uno.ini";
#endif
Dir = gid_Dir_Program;
Styles = (NETWORK);
End
#ifndef SYSTEM_PYTHON
2004-02-05 11:10:37 -06:00
ProfileItem gid_Profileitem_Pythonloader_Pythonhome
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
ModuleID = gid_Module_Optional_Pyuno;
2004-02-05 11:10:37 -06:00
Section = "Bootstrap";
Order = 1;
Key = "PYTHONHOME";
Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
2004-02-05 11:10:37 -06:00
End
#endif
2004-02-05 11:10:37 -06:00
ProfileItem gid_Profileitem_Pythonloader_Pythonpath
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
ModuleID = gid_Module_Optional_Pyuno;
2004-02-05 11:10:37 -06:00
Section = "Bootstrap";
Order = 1;
Key = "PYTHONPATH";
#ifdef SYSTEM_PYTHON
Value = "$ORIGIN";
#else
2004-02-05 11:10:37 -06:00
#ifdef UNX
Value = CONCAT7($ORIGIN/python-core-,PYVERSION,
/lib $ORIGIN/python-core-,PYVERSION,
/lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
/lib/lib-tk $ORIGIN);
2004-02-05 11:10:37 -06:00
#else
Value = STRING(CONCAT3($ORIGIN/python-core-,PYVERSION,/lib $ORIGIN));
2004-02-05 11:10:37 -06:00
#endif
#endif
2004-02-05 11:10:37 -06:00
End