| /trunk/main/python/prj/ |
| H A D | d.lst | 1 mkdir: %_DEST%\lib%_EXT%\python 2 mkdir: %_DEST%\lib%_EXT%\python\site-packages 3 mkdir: %_DEST%\lib%_EXT%\python\encodings 4 mkdir: %_DEST%\lib%_EXT%\python\email 5 mkdir: %_DEST%\lib%_EXT%\python\email\mime 6 mkdir: %_DEST%\lib%_EXT%\python\distutils 7 mkdir: %_DEST%\lib%_EXT%\python\distutils\command 8 mkdir: %_DEST%\lib%_EXT%\python\xml 9 mkdir: %_DEST%\lib%_EXT%\python\xml\dom 10 mkdir: %_DEST%\lib%_EXT%\python\xml\parsers [all …]
|
| /trunk/main/pyuno/inc/pyuno/ |
| H A D | pyuno.hxx | 31 #include <Python.h> 34 #include <Python.h> 41 // Compatibility for older system Python (2.6 and previous) 60 External interface of the Python UNO bridge. 73 /** function called by the python runtime to initialize the 76 preconditions: python has been initialized before and 89 /** Helper class for keeping references to python objects. 90 BEWARE: Look up every python function you use to check 92 (python terminus for a not acquired object pointer 96 precondition: python has been initialized before and [all …]
|
| /trunk/main/pyuno/zipcore/ |
| H A D | makefile.mk | 36 @echo "Not building python-core because system python is being used" 41 PYDIRNAME=python-core-$(PYVERSION) 44 PYTHONBINARY=$(BIN)$/python$(EXECPOST).bin 47 PYTHONBINARY=$(DESTROOT)$/bin$/python.bin 49 PYTHONBINARY=$(DESTROOT)$/bin$/python$(EXECPOST) 54 …$(shell @$(FIND) $(SOLARLIBDIR)$/python -type f| $(GREP) -v "\.pyc" |$(GREP) -v "\.py~" |$(GREP) -… 55 FINDLIBFILES=$(subst,$(SOLARLIBDIR)$/python, $(FINDLIBFILES_TMP)) 58 $(shell @$(FIND) $(SOLARINCDIR)$/python -type f| $(GREP) -v "\.h~" | $(GREP) -v _failed)) 59 FINDINCFILES=$(subst,$(SOLARINCDIR)$/python, $(FINDINCFILES_TMP)) 64 $(foreach,i,$(FINDINCFILES) $(DESTROOT)$/include$/python$(PYMAJOR).$(PYMINOR)$(i)) [all …]
|
| H A D | python.cxx | 110 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib")); 119 L"python-core-" MY_PYVERSION L"\\lib\\site-packages")); 128 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib\\lib-dynload")); 135 MY_STRING(L"python-core-" MY_PYVERSION L"\\lib\\lib-dynload")); 143 MY_STRING(L"python-core-" MY_PYVERSION)); 152 L"python-core-" MY_PYVERSION L"\\bin\\python.bin")); 155 L"python-core-" MY_PYVERSION L"\\bin\\python.exe"));
|
| H A D | python.sh | 53 …YTHONPATH=$sd_prog:$sd_prog/python-core-%%PYVERSION%%/lib:$sd_prog/python-core-%%PYVERSION%%/lib/l… 55 PYTHONHOME=$sd_prog/python-core-%%PYVERSION%% 59 exec "$sd_prog/python.bin" "$@"
|
| /trunk/main/pyuno/ |
| H A D | Package_zipcore.mk | 22 include $(SRCDIR)/python/pyversion.mk 26 $(eval $(call gb_Package_add_file,pyuno_zipcore,bin/python-core-$(PYVERSION).zip,python-core-$(PYVE… 32 PYTHONBINARY := $(WORKDIR)/CustomTarget/pyuno/zipcore/python-core-$(PYVERSION)/bin/python.bin 34 PYTHONBINARY := $(WORKDIR)/CustomTarget/pyuno/zipcore/python-core-$(PYVERSION)/bin/python$(gb_Execu… 39 …python -type f | grep -v "\.pyc" | grep -v "\.py~" | grep -v .orig | grep -v _failed),$(subst $(OU… 40 …python -type f | grep -v "\.h~" | grep -v _failed),$(subst $(OUTDIR)/inc/python,$(WORKDIR)/CustomT… 42 $(WORKDIR)/CustomTarget/pyuno/zipcore/python-core-$(PYVERSION).zip : $(PYTHON_CORE_FILES) 46 zip -r python-core-$(PYVERSION).zip python-core-$(PYVERSION) 49 $(PYTHONBINARY) : $(OUTDIR)/bin/python$(gb_Executable_EXT) 54 $(WORKDIR)/CustomTarget/pyuno/zipcore/python-core-$(PYVERSION)/lib/% : $(OUTDIR)/lib/python/% [all …]
|
| H A D | Package_pyuno_python_sh.mk | 22 include $(SRCDIR)/python/pyversion.mk 26 $(eval $(call gb_Package_add_file,pyuno_python_sh,bin/pyuno/python,python.sh)) 28 $(WORKDIR)/CustomTarget/pyuno/zipcore/python.sh : $(SRCDIR)/pyuno/zipcore/python.sh
|
| /trunk/main/ |
| H A D | aclocal.m4 | 183 # Adds support for distributing Python modules and packages. To 190 # locations to install python extension modules (shared libraries). 194 # If your package is configured with a different prefix to python, 196 # environment variable, or create a .pth file (see the python 200 # cause an error if the version of python installed on the system 205 dnl Find a Python interpreter. Python versions prior to 2.0 are not 208 [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl 213 # Find any Python interpreter. 214 if test -z "$PYTHON"; then 215 AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) [all …]
|
| H A D | LICENSE | 308 - Python license 319 License: Python License 321 PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 324 1. This LICENSE AGREEMENT is between the Python Software Foundation 326 otherwise using this software ("Python") in source or binary form and 332 prepare derivative works, distribute, and otherwise use Python 335 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights 336 Reserved" are retained in Python alone or in any derivative version 340 or incorporates Python or any part thereof, and wants to make 343 the changes made to Python. [all …]
|
| /trunk/main/python/ |
| H A D | makefile.mk | 36 @echo "An already available installation of python should exist on your system." 44 TARFILE_NAME=Python-$(PYVERSION) 47 python-md5.patch \ 48 python-solver-before-std.patch \ 49 python-$(PYVERSION)-sysbase.patch \ 50 python-$(PYVERSION)-nohardlink.patch 54 PATCH_FILES+=python-$(PYVERSION)-selfcontained.patch 56 # python-freebsd.patch: all hunks obsolete in Python 3.11 (upstream fixes). 57 # python-ssl.patch: dropped. Python 3.11's setup.py finds the bundled OpenSSL 61 # Windows build deferred — Python 3 requires modern MSVC (VS2008/msvs9 not supported). [all …]
|
| H A D | python-freebsd.patch | 1 diff -ruN misc/Python-2.7.18/Modules/fcntlmodule.c misc/build/Python-2.7.18/Modules/fcntlmodule.c 2 --- misc/Python-2.7.18/Modules/fcntlmodule.c 2019-10-19 13:38:44.000000000 -0500 3 +++ misc/build/Python-2.7.18/Modules/fcntlmodule.c 2020-01-09 22:59:15.052886000 -0500 10 format for the 'code' parameter because Python turns 0x8000000 55 diff -ruN misc/Python-2.7.18/Python/thread_pthread.h misc/build/Python-2.7.18/Python/thread_pthread… 56 --- misc/Python-2.7.18/Python/thread_pthread.h 2019-10-19 13:38:44.000000000 -0500 57 +++ misc/build/Python-2.7.18/Python/thread_pthread.h 2020-01-09 22:59:15.053731000 -0500 111 diff -ruN misc/Python-2.7.18/configure misc/build/Python-2.7.18/configure 112 --- misc/Python-2.7.18/configure 2019-10-19 13:38:44.000000000 -0500 113 +++ misc/build/Python-2.7.18/configure 2020-01-09 22:59:15.072666000 -0500
|
| H A D | python-ssl.patch | 1 diff -ur misc/Python-2.7.18/PC/VS9.0/build_ssl.py misc/build/Python-2.7.18/PC/VS9.0/build_ssl.py 2 --- misc/Python-2.7.18/PC/VS9.0/build_ssl.py 2020-01-10 00:33:20.903051000 -0500 3 +++ misc/build/Python-2.7.18/PC/VS9.0/build_ssl.py 2020-01-10 00:33:30.274973000 -0500 10 diff -ur misc/Python-2.7.18/setup.py misc/build/Python-2.7.18/setup.py 11 --- misc/Python-2.7.18/setup.py 2020-01-10 00:33:20.477509000 -0500 12 +++ misc/build/Python-2.7.18/setup.py 2020-01-10 00:33:30.276902000 -0500
|
| H A D | pyversion_dmake.mk | 21 # when you want to change the python version, you must update the d.lst 22 # in the python project accordingly !!! 36 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 37 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib 43 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 44 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
|
| H A D | pyversion.mk | 21 # when you want to change the python version, you must update the d.lst 22 # in the python project accordingly !!! 36 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 37 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib 43 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 44 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
|
| H A D | python-3.11.15-sysbase.patch | 1 diff -ruN misc/Python-3.11.15/configure misc/build/Python-3.11.15/configure 2 --- misc/Python-3.11.15/configure 2025-01-01 00:00:00.000000000 +0000 3 +++ misc/build/Python-3.11.15/configure 2025-01-01 00:00:00.000000000 +0000
|
| /trunk/test/aoo-test/tests/harness/ |
| H A D | test_install.py | 22 """install.py against fake macOS, Linux and Windows trees, and the UNO Python search with a faked p… 122 \t/opt/local/Library/Frameworks/Python.framework/Versions/3.14/Python (compatibility version 3.14.0… 129 …install.parse_otool(OTOOL) == "/opt/local/Library/Frameworks/Python.framework/Versions/3.14/Python" 136 fw = tmp_path / "Library/Frameworks/Python.framework/Versions/3.14" 138 linked = str(fw / "Python") 155 def prober(python, layout): argument 156 asked.append(python) 157 return (True, "3.14.0") if python in passing else (False, "No module named 'uno'") 166 (top / "program" / "python").write_text("x") 167 py = str(top / "program" / "python") [all …]
|
| /trunk/main/pyuno/demo/ |
| H A D | makefile.mk | 31 $(ROOT)$/python-bridge.html \ 67 #PYDIRNAME=python-$(PYVERSION) 85 #PYTHONLIBRARY=$(DESTROOT)$/program$/$(DLLPRE)python$(DLLPOST).$(PYVERSION) 86 #PYRUNTIMELINK=$(DESTROOT)$/program$/python 106 #FINDDIRS=$(subst,/,$/ $(shell +cd $(SOLARLIBDIR)$/python && $(FIND) . -type d)) 107 #FINDLIBFILES=$(subst,/,$/ $(shell +cd $(SOLARLIBDIR)$/python && $(FIND) . -type f)) 135 # $(DESTROOT)$/program$/pydemo$/python-bridge.html \ 138 # $(DESTROOT)$/program$/$(PYDIRNAME)$/bin$/python$(EXESUFFIX) \ 163 # cd $(DESTROOT)$/program && ln -s $(PYDIRNAME) python 167 # cd $(DESTROOT)$/program && ln -s $(DLLPRE)python$(DLLPOST).$(PYVERSION) $(DLLPRE)python$(DLLPOS… [all …]
|
| /trunk/test/aoo-test/src/aootest/ |
| H A D | install.py | 22 """Finds an installed AOO from a path the user gives, reads its version, and finds a Python that ca… 180 # ---- a Python that can import uno ---------------------------------------------------------------… 190 """The Python framework path from `otool -L` output, or None.""" 192 …m = re.match(r"\s*(\S*/Python\.framework/Versions/[\d.]+/Python|\S*/libpython[\d.]+\.dylib)\s", li… 221 m = re.search(r"(.*)/Python\.framework/Versions/([\d.]+)/Python$", linked) 223 d = Path(m.group(1)) / "Python.framework" / "Versions" / m.group(2) / "bin" 224 for n in ("python" + m.group(2), "python3"): 229 return which("python" + m.group(1)) if m else None 238 for n in ("python", "python.exe", "python3", "python.bin"): 241 for core in sorted(layout.program.glob("python-core-*")): [all …]
|
| /trunk/main/testtools/source/bridgetest/pyuno/ |
| H A D | makefile.mk | 39 PYEXC=$(DLLDEST)$/python$(EXECPOST) 43 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python 48 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) python3 50 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(PYTHON_BIN) 54 …:=$(SOLARLIBDIR)$/pyuno;$(PWD);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-d… 56 …:=$(SOLARLIBDIR)$/pyuno:$(PWD):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-d… 65 CWD_TMP=$(strip $(shell @echo "import os;print os.getcwd()" | $(PYTHON))) 92 $(DLLDEST)$/python$(EXECPOST) : $(SOLARBINDIR)$/python$(EXECPOST) 113 cd $(DLLDEST) && $(TEST_ENV) && $(PYTHON) main.py
|
| /trunk/main/scp2/source/python/ |
| H A D | profileitem_python.scp | 50 Value = CONCAT2($ORIGIN/python-core-,PYVERSION); 64 Value = CONCAT7($ORIGIN/python-core-,PYVERSION, 65 /lib $ORIGIN/python-core-,PYVERSION, 66 /lib/lib-dynload $ORIGIN/python-core-,PYVERSION, 70 Value = STRING(CONCAT7($ORIGIN/python-core-,PYVERSION, 71 /lib $ORIGIN/python-core-,PYVERSION, 72 /lib/lib-dynload $ORIGIN/python-core-,PYVERSION, 75 Value = STRING(CONCAT5($ORIGIN/python-core-,PYVERSION, 76 /lib $ORIGIN/python-core-,PYVERSION,
|
| H A D | file_python.scp | 115 Name = STRING(CONCAT3(python-core-,PYVERSION,.zip)); 128 Name = "python.bin"; 134 // Scripting Framework Python script proxy 148 //Scripting Framework Python example scripts 157 // Scripting Framework Python configuration settings 182 // pyuno.so even on Mac OS X, because it is a python module
|
| /trunk/main/l10ntools/scripts/ |
| H A D | makefile.mk | 25 # force python to create the *.pyc files. 33 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python 38 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) python3 40 PYTHON=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(PYTHON_BIN) 57 @$(PYTHON) $(BIN)/xtxex.py > /dev/null 59 @$(PYTHON) $(BIN)/xtxex.py >& /dev/null
|
| /trunk/test/aoo-test/ |
| H A D | USAGE.md | 62 | `--uno-python PATH` | `AOO_UNO_PYTHON` | A Python that can import `uno`. Skips the search; if it … 76 …Python able to import `uno`. The suite tries these in order and keeps the first that imports `uno`…
|
| H A D | conftest.py | 35 …g.addoption("--uno-python", default=None, help="Python that can import uno (default: $AOO_UNO_PYTH… 70 return install.find_uno_python(aoo_layout, explicit=pytestconfig.getoption("--uno-python"), 71 … cache_file=tmp_path_factory.getbasetemp() / "uno-python.json") 73 _unavailable(pytestconfig, "no UNO Python for this install: %s; tried %s" % (e, e.tried)) 79 def __init__(self, layout, python, workdir, connect, max_restarts, start_timeout=240.0): argument 80 …self.layout, self.python, self.workdir, self.connect, self.max_restarts = layout, python, workdir,… 88 …self.sessions[key] = session.ModeSession(self.layout, self.python, mode, self.workdir, self.connec…
|
| /trunk/win10-msvc/ |
| H A D | README.md | 30 Windows, **Python**, which trunk has never built here at all. 41 entirely, and Python is built without `_ssl`, `_ctypes`, `_bz2`, `_lzma` and 62 mode at all. Bundled Python is **3.11.15** (`main/python/pyversion.mk`), 98 * the Python 2.7.18 fixes (`b6f8696d08`, `8ee3bd8d0f`) — trunk is on Python 359 went to Outlook, and only simple MAPI stayed. Python 3 split its public 377 switched off here, and a C++/CLI port is its own piece of work. Python had its 381 **Building Python turned out to be four defects, not one** (4). `find_python.bat` 382 probes only `py -3.10` and `py -3.9` and otherwise **downloads** a Python 384 past that. It must be a *native* Python: a cygwin one passes a version check 389 structural — `python.vcxproj` declares one on `_ctypes` so the IDE yields a [all …]
|