summaryrefslogtreecommitdiff
path: root/scp2/source/python/file_python.scp
blob: 57f347d9b59423398dac647f09ecbe11f1ab8eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/*
 * 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 .
 */

#include "macros.inc"

#ifndef DISABLE_PYUNO

File gid_File_scriptproviderforpython
    TXT_FILE_BODY;
    Dir = FILELIST_DIR;
    Name = "scriptproviderforpython.filelist";
    Styles = (FILELIST, PACKED);
End

File gid_File_pyuno_python_scripts
    TXT_FILE_BODY;
    Dir = FILELIST_DIR;
    Name = "pyuno_python_scripts.filelist";
    Styles = (FILELIST, PACKED);
End

File gid_File_Lib_Pyuno
    PACKED_LIB_FILE_BODY;
  #ifdef UNX
    Name = STRING(CONCAT2(libpyuno,UNXSUFFIX));
  #else
  #ifdef MSVC_PKG_DEBUG_RUNTIME
    Name = "pyuno_d.pyd";
  #else
    Name = "pyuno.pyd";
  #endif // MSVC_PKG_DEBUG_RUNTIME
  #endif
End

STD_LIB_FILE( gid_File_Lib_Pythonloader, pythonloader )

File gid_File_Pyuno_Rdb
    TXT_FILE_BODY;
    Dir = gid_Brand_Dir_Program_Services;
    Name = "Rdb/pyuno.rdb";
    Styles = (PACKED);
End

#ifndef SYSTEM_PYTHON
File gid_File_Py_Bin_Python
    BIN_FILE_BODY;
#ifdef WNT
    Name = EXENAME(pyuno/python);
    Dir = gid_Brand_Dir_Program;
    Styles = (PACKED);
#else
    Name = "python_shell.filelist";
    Dir = FILELIST_DIR;
    Styles = (FILELIST, PACKED);
#endif
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

File gid_File_Py_Python_Core
    TXT_FILE_BODY;
    Dir = FILELIST_DIR;
    Name = "python3.filelist";
    Styles = (FILELIST,USE_INTERNAL_RIGHTS);
End

#ifdef WNT
Directory gid_Dir_Py_PythonCore_Bin
    ParentID = gid_Dir_Py_PythonCore;
    HostName = "bin";
End
#endif

#endif // SYSTEM_PYTHON

//Scripting Framework Python example scripts

File gid_File_Scripts_Python
    Dir = FILELIST_DIR;
    TXT_FILE_BODY;
    Styles = (FILELIST);
    Name = "scripting_ScriptsPython.filelist";
End

// Scripting Framework Python configuration settings

File gid_File_Share_Registry_Pyuno_Xcd
    TXT_FILE_BODY;
    Styles = (PACKED);
    Dir = gid_Brand_Dir_Share_Registry;
    Name = "pyuno.xcd";
End

#ifdef UNX

// pyuno.so even on Mac OS X, because it is a python module
File gid_File_Pyuno
    PACKED_LIB_FILE_BODY;
    Name = "pyuno.so";
End

#endif

#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;
    HostName = "bin";
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

// DISABLE_PYUNO
#endif