2004-02-05 11:10:37 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-08 19:43:45 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-02-05 11:10:37 -06:00
|
|
|
*
|
2005-09-08 19:43:45 -05:00
|
|
|
* $RCSfile: profileitem_python.scp,v $
|
2004-02-05 11:10:37 -06:00
|
|
|
*
|
2005-11-21 02:20:48 -06:00
|
|
|
* $Revision: 1.7 $
|
2004-02-05 11:10:37 -06:00
|
|
|
*
|
2005-11-21 02:20:48 -06:00
|
|
|
* last change: $Author: obo $ $Date: 2005-11-21 09:20:48 $
|
2004-02-05 11:10:37 -06:00
|
|
|
*
|
2005-09-08 19:43:45 -05: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
|
|
|
*
|
|
|
|
*
|
2005-09-08 19:43:45 -05: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
|
|
|
*
|
2005-09-08 19:43:45 -05: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
|
|
|
*
|
2005-09-08 19:43:45 -05: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
|
|
|
*
|
2005-09-08 19:43:45 -05: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
|
2004-03-04 07:10:55 -06:00
|
|
|
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
|
|
|
|
|
2005-02-24 07:26:12 -06:00
|
|
|
#ifndef SYSTEM_PYTHON
|
2004-02-05 11:10:37 -06:00
|
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonhome
|
|
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
2004-03-04 07:10:55 -06:00
|
|
|
ModuleID = gid_Module_Optional_Pyuno;
|
2004-02-05 11:10:37 -06:00
|
|
|
Section = "Bootstrap";
|
|
|
|
Order = 1;
|
|
|
|
Key = "PYTHONHOME";
|
2005-11-21 02:20:48 -06:00
|
|
|
Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
|
2004-02-05 11:10:37 -06:00
|
|
|
End
|
2005-02-24 07:26:12 -06:00
|
|
|
#endif
|
2004-02-05 11:10:37 -06:00
|
|
|
|
|
|
|
ProfileItem gid_Profileitem_Pythonloader_Pythonpath
|
|
|
|
ProfileID = gid_Profile_Pythonloader_Uno_Ini;
|
2004-03-04 07:10:55 -06:00
|
|
|
ModuleID = gid_Module_Optional_Pyuno;
|
2004-02-05 11:10:37 -06:00
|
|
|
Section = "Bootstrap";
|
|
|
|
Order = 1;
|
|
|
|
Key = "PYTHONPATH";
|
2005-02-24 07:26:12 -06:00
|
|
|
#ifdef SYSTEM_PYTHON
|
|
|
|
Value = "$ORIGIN";
|
|
|
|
#else
|
2004-02-05 11:10:37 -06:00
|
|
|
#ifdef UNX
|
2005-11-21 02:20:48 -06:00
|
|
|
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
|
2004-11-15 06:17:04 -06:00
|
|
|
Value = STRING(CONCAT3($ORIGIN/python-core-,PYVERSION,/lib $ORIGIN));
|
2004-02-05 11:10:37 -06:00
|
|
|
#endif
|
2005-02-24 07:26:12 -06:00
|
|
|
#endif
|
2004-02-05 11:10:37 -06:00
|
|
|
End
|