1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#include "macros.inc" 25 26File gid_File_Lib_Pyuno 27 TXT_FILE_BODY; 28 #ifdef UNX 29 Name = STRING(CONCAT2(libpyuno,UNXSUFFIX)); 30 #elif defined(OS2) 31 Name = "pyuno.dll"; 32 #else 33 Name = "pyuno.pyd"; 34 #endif 35#if defined MACOSX 36 Dir = gid_Brand_Dir_Program; 37#else 38 Dir = gid_Dir_Common_Ure; 39#endif 40// Dir = gid_Dir_Program; 41 Styles = (PACKED); 42End 43 44File gid_File_Lib_Pythonloader 45 TXT_FILE_BODY; 46#if defined MACOSX 47 Dir = gid_Brand_Dir_Program; 48#else 49 Dir = gid_Dir_Common_Ure; 50#endif 51// Dir = gid_Dir_Program; 52 #ifdef UNX 53 Name = STRING(CONCAT2(pythonloader.uno,UNXSUFFIX)); 54 #elif defined(OS2) 55 Name = "pythonlo.dll"; 56 #else 57 Name = "pythonloader.uno.dll"; 58 #endif 59 Styles = (PACKED); 60End 61 62File gid_File_Py_Unohelper 63 TXT_FILE_BODY; 64#if defined MACOSX 65 Dir = gid_Brand_Dir_Program; 66#else 67 Dir = gid_Dir_Common_Ure; 68#endif 69// Dir = gid_Dir_Program; 70 Name = "unohelper.py"; 71 Styles = (PACKED); 72End 73 74File gid_File_Py_Officehelper 75 TXT_FILE_BODY; 76#if defined MACOSX 77 Dir = gid_Brand_Dir_Program; 78#else 79 Dir = gid_Dir_Common_Ure; 80#endif 81// Dir = gid_Dir_Program; 82 Name = "officehelper.py"; 83 Styles = (PACKED); 84End 85 86File gid_File_Py_Uno 87 TXT_FILE_BODY; 88#if defined MACOSX 89 Dir = gid_Brand_Dir_Program; 90#else 91 Dir = gid_Dir_Common_Ure; 92#endif 93// Dir = gid_Dir_Program; 94 Name = "uno.py"; 95 Styles = (PACKED); 96End 97 98File gid_File_Py_Pythonloader 99 TXT_FILE_BODY; 100 Dir = gid_Brand_Dir_Program; 101// Dir = gid_Dir_Program; 102 Name = "pythonloader.py"; 103 Styles = (PACKED); 104End 105 106#ifndef SYSTEM_PYTHON 107File gid_File_Py_Python_Core 108 TXT_FILE_BODY; 109#if defined MACOSX 110 Dir = gid_Brand_Dir_Program; 111#else 112 Dir = gid_Dir_Common_Ure; 113#endif 114// Dir = gid_Dir_Program; 115 Name = STRING(CONCAT3(python-core-,PYVERSION,.zip)); 116 Styles = (ARCHIVE); 117End 118 119#ifdef UNX 120File gid_File_Py_Python_Bin 121 BIN_FILE_BODY; 122#if defined MACOSX 123 Dir = gid_Brand_Dir_Program; 124#else 125 Dir = gid_Dir_Common_Ure; 126#endif 127// Dir = gid_Dir_Program; 128 Name = "python.bin"; 129 Styles = (PACKED); 130End 131#endif 132#endif 133 134// Scripting Framework Python script proxy 135 136File gid_File_Py_Pythonscript 137 TXT_FILE_BODY; 138#if defined MACOSX 139 Dir = gid_Brand_Dir_Program; 140#else 141 Dir = gid_Dir_Common_Ure; 142#endif 143// Dir = gid_Dir_Program; 144 Name = "pythonscript.py"; 145 Styles = (PACKED); 146End 147 148//Scripting Framework Python example scripts 149 150File gid_File_Scripts_Python 151 TXT_FILE_BODY; 152 Styles = (ARCHIVE); 153 Dir = gid_Dir_Share_Scripts; 154 Name = "ScriptsPython.zip"; 155End 156 157// Scripting Framework Python configuration settings 158 159File gid_File_Share_Registry_Pyuno_Xcd 160 TXT_FILE_BODY; 161 Styles = (PACKED); 162 Dir = gid_Dir_Share_Registry; 163 Name = "pyuno.xcd"; 164End 165 166#ifndef SYSTEM_PYTHON 167File gid_File_Lib_Python_So 168 TXT_FILE_BODY; 169#if defined MACOSX 170 Dir = gid_Brand_Dir_Program; 171#else 172 Dir = gid_Dir_Common_Ure; 173#endif 174// Dir = gid_Dir_Program; 175 Name = STRING(PY_FULL_DLL_NAME); 176 Styles = (PACKED); 177End 178#endif 179 180#ifdef UNX 181 182// pyuno.so even on Mac OS X, because it is a python module 183File gid_File_Pyuno 184 TXT_FILE_BODY; 185 Name = "pyuno.so"; 186#if defined MACOSX 187 Dir = gid_Brand_Dir_Program; 188#else 189 Dir = gid_Dir_Common_Ure; 190#endif 191// Dir = gid_Dir_Program; 192 Styles = (PACKED); 193End 194 195#endif 196 197