2013-05-16 21:56:04 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2004-02-05 17:10:37 +00:00
|
|
|
|
|
|
|
#include "macros.inc"
|
|
|
|
|
2011-03-13 16:07:50 +01:00
|
|
|
#ifndef DISABLE_PYUNO
|
|
|
|
|
2013-05-04 08:08:49 +02:00
|
|
|
File gid_File_scriptproviderforpython
|
2013-02-19 15:21:23 +01:00
|
|
|
TXT_FILE_BODY;
|
2013-05-04 08:08:49 +02:00
|
|
|
Dir = FILELIST_DIR;
|
|
|
|
Name = "scriptproviderforpython.filelist";
|
|
|
|
Styles = (FILELIST, PACKED);
|
2013-02-19 15:21:23 +01:00
|
|
|
End
|
|
|
|
|
2013-06-17 15:26:52 +02:00
|
|
|
File gid_File_pyuno_python_scripts
|
|
|
|
TXT_FILE_BODY;
|
|
|
|
Dir = FILELIST_DIR;
|
|
|
|
Name = "pyuno_python_scripts.filelist";
|
|
|
|
Styles = (FILELIST, PACKED);
|
|
|
|
End
|
|
|
|
|
2004-02-05 17:10:37 +00:00
|
|
|
File gid_File_Lib_Pyuno
|
2013-08-16 11:08:32 +03:00
|
|
|
PACKED_LIB_FILE_BODY;
|
2004-02-05 17:10:37 +00:00
|
|
|
#ifdef UNX
|
|
|
|
Name = STRING(CONCAT2(libpyuno,UNXSUFFIX));
|
2013-04-20 00:51:21 +02:00
|
|
|
#else
|
|
|
|
#ifdef MSVC_PKG_DEBUG_RUNTIME
|
|
|
|
Name = "pyuno_d.pyd";
|
2004-02-05 17:10:37 +00:00
|
|
|
#else
|
2009-04-22 14:05:37 +00:00
|
|
|
Name = "pyuno.pyd";
|
2013-04-20 00:51:21 +02:00
|
|
|
#endif // MSVC_PKG_DEBUG_RUNTIME
|
2004-02-05 17:10:37 +00:00
|
|
|
#endif
|
|
|
|
End
|
|
|
|
|
2013-04-20 17:46:19 -03:00
|
|
|
STD_LIB_FILE( gid_File_Lib_Pythonloader, pythonloader )
|
2004-02-05 17:10:37 +00:00
|
|
|
|
2013-05-28 11:47:57 +02:00
|
|
|
File gid_File_Pyuno_Rdb
|
|
|
|
TXT_FILE_BODY;
|
|
|
|
Dir = gid_Brand_Dir_Program_Services;
|
|
|
|
Name = "pyuno.rdb";
|
|
|
|
Styles = (PACKED);
|
|
|
|
End
|
|
|
|
|
2005-01-25 12:00:46 +00:00
|
|
|
#ifndef SYSTEM_PYTHON
|
2012-05-27 22:50:41 +02:00
|
|
|
File gid_File_Py_Bin_Python
|
|
|
|
BIN_FILE_BODY;
|
2013-06-18 16:14:18 +02:00
|
|
|
Name = "python_shell.filelist";
|
|
|
|
Dir = FILELIST_DIR;
|
|
|
|
Styles = (FILELIST, PACKED);
|
2012-05-27 22:50:41 +02:00
|
|
|
End
|
|
|
|
|
|
|
|
#ifndef MACOSX
|
|
|
|
Directory gid_Dir_Py_PythonCore
|
|
|
|
ParentID = gid_Brand_Dir_Program;
|
|
|
|
HostName = STRING(CONCAT2(python-core-,PYVERSION));
|
|
|
|
End
|
|
|
|
|
|
|
|
Directory gid_Dir_Py_PythonCore_Lib
|
|
|
|
ParentID = gid_Dir_Py_PythonCore;
|
|
|
|
HostName = "lib";
|
|
|
|
End
|
|
|
|
#endif
|
|
|
|
|
2004-02-05 17:10:37 +00:00
|
|
|
File gid_File_Py_Python_Core
|
2013-05-04 15:01:36 +02:00
|
|
|
TXT_FILE_BODY;
|
2013-04-21 14:34:50 +02:00
|
|
|
Dir = FILELIST_DIR;
|
|
|
|
Name = "python3.filelist";
|
|
|
|
Styles = (FILELIST,USE_INTERNAL_RIGHTS);
|
2004-02-05 17:10:37 +00:00
|
|
|
End
|
2005-11-11 08:54:51 +00:00
|
|
|
|
2012-05-27 22:50:41 +02:00
|
|
|
#ifdef WNT
|
|
|
|
Directory gid_Dir_Py_PythonCore_Bin
|
|
|
|
ParentID = gid_Dir_Py_PythonCore;
|
|
|
|
HostName = "bin";
|
|
|
|
End
|
|
|
|
#endif
|
|
|
|
|
2013-04-21 14:34:50 +02:00
|
|
|
#endif // SYSTEM_PYTHON
|
2004-02-05 17:10:37 +00:00
|
|
|
|
2004-02-10 16:46:31 +00:00
|
|
|
//Scripting Framework Python example scripts
|
|
|
|
|
|
|
|
File gid_File_Scripts_Python
|
2013-04-19 00:15:12 +02:00
|
|
|
Dir = FILELIST_DIR;
|
2011-05-07 17:39:13 -07:00
|
|
|
TXT_FILE_BODY;
|
2013-04-19 00:15:12 +02:00
|
|
|
Styles = (FILELIST);
|
|
|
|
Name = "scripting_ScriptsPython.filelist";
|
2004-02-10 16:46:31 +00:00
|
|
|
End
|
|
|
|
|
2004-07-05 12:19:01 +00:00
|
|
|
// Scripting Framework Python configuration settings
|
|
|
|
|
2009-08-04 10:36:31 +02:00
|
|
|
File gid_File_Share_Registry_Pyuno_Xcd
|
2004-07-05 12:19:01 +00:00
|
|
|
TXT_FILE_BODY;
|
|
|
|
Styles = (PACKED);
|
2011-10-07 21:12:30 +02:00
|
|
|
Dir = gid_Brand_Dir_Share_Registry;
|
2009-08-04 10:36:31 +02:00
|
|
|
Name = "pyuno.xcd";
|
2004-07-05 12:19:01 +00:00
|
|
|
End
|
|
|
|
|
2004-02-10 16:46:31 +00:00
|
|
|
#ifdef UNX
|
|
|
|
|
2012-02-06 15:51:52 +01:00
|
|
|
// pyuno.so even on Mac OS X, because it is a python module
|
2004-02-05 17:10:37 +00:00
|
|
|
File gid_File_Pyuno
|
2013-08-16 11:08:32 +03:00
|
|
|
PACKED_LIB_FILE_BODY;
|
2006-01-16 14:57:11 +00:00
|
|
|
Name = "pyuno.so";
|
2004-02-05 17:10:37 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
#endif
|
2004-11-15 12:16:02 +00:00
|
|
|
|
2012-06-18 00:04:19 +02:00
|
|
|
#ifdef MINGW_SYSTEM_PYTHON
|
|
|
|
|
|
|
|
// python_wrapper.exe
|
|
|
|
File gid_File_Py_Bin_Python
|
|
|
|
BIN_FILE_BODY;
|
|
|
|
Name = EXENAME(pyuno/python);
|
|
|
|
Dir = gid_Brand_Dir_Program;
|
|
|
|
Styles = (PACKED);
|
|
|
|
End
|
|
|
|
|
|
|
|
Directory gid_Dir_Py_PythonCore
|
|
|
|
ParentID = gid_Brand_Dir_Program;
|
|
|
|
HostName = STRING(CONCAT2(python-core-,PYVERSION));
|
|
|
|
End
|
|
|
|
|
|
|
|
Directory gid_Dir_Py_PythonCore_Lib
|
|
|
|
ParentID = gid_Dir_Py_PythonCore;
|
|
|
|
HostName = "lib";
|
|
|
|
End
|
|
|
|
|
|
|
|
File gid_File_Py_Python_Core
|
|
|
|
TXT_FILE_BODY;
|
|
|
|
Dir = gid_Dir_Py_PythonCore_Lib;
|
|
|
|
Name = STRING(CONCAT3(python-core-,PYVERSION,.zip));
|
|
|
|
Styles = (ARCHIVE);
|
|
|
|
End
|
|
|
|
|
|
|
|
Directory gid_Dir_Py_PythonCore_Bin
|
|
|
|
ParentID = gid_Dir_Py_PythonCore;
|
2012-06-22 13:56:30 +02:00
|
|
|
HostName = "bin";
|
2012-06-18 00:04:19 +02:00
|
|
|
End
|
|
|
|
|
|
|
|
File gid_File_Py_Python_Bin
|
|
|
|
BIN_FILE_BODY;
|
|
|
|
Dir = gid_Dir_Py_PythonCore_Bin;
|
|
|
|
Name = EXENAME(python);
|
|
|
|
Styles = (PACKED);
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
#endif //MINGW_SYSTEM_PYTHON
|
|
|
|
|
2011-03-13 16:07:50 +01:00
|
|
|
// DISABLE_PYUNO
|
|
|
|
#endif
|