Home
last modified time | relevance | path

Searched full:python (Results 1 – 25 of 225) sorted by relevance

123456789

/trunk/main/python/prj/
H A Dd.lst1 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 Dpyuno.hxx31 #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 Dmakefile.mk36 @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 Dpython.cxx110 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 Dpython.sh53 …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 DPackage_zipcore.mk22 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…
39python -type f | grep -v "\.pyc" | grep -v "\.py~" | grep -v .orig | grep -v _failed),$(subst $(OU…
40python -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 DPackage_pyuno_python_sh.mk22 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/python/
H A Dmakefile.mk36 @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
51 # python-freebsd.patch: all hunks obsolete in Python 3.11 (upstream fixes).
52 # python-ssl.patch: dropped. Python 3.11's setup.py finds the bundled OpenSSL
56 # Windows build deferred — Python 3 requires modern MSVC (VS2008/msvs9 not supported).
61 #PATCH_FILES += python-$(PYVERSION)-msvs9.patch
[all …]
H A Dpython-freebsd.patch1 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 Dpython-ssl.patch1 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 Dpyversion_dmake.mk21 # 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 Dpyversion.mk21 # 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 Dpython-3.11.15-sysbase.patch1 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
H A Dpython-md5.patch1 diff -ru misc/Python-3.11.15/Modules/Setup misc/build/Python-3.11.15/Modules/Setup
2 --- misc/Python-3.11.15/Modules/Setup 2025-01-01 00:00:00.000000000 +0000
3 +++ misc/build/Python-3.11.15/Modules/Setup 2025-01-01 00:00:00.000000000 +0000
H A Dpython-solver-before-std.patch1 diff -ur misc/Python-3.11.15/setup.py misc/build/Python-3.11.15/setup.py
2 --- misc/Python-3.11.15/setup.py 2025-01-01 00:00:00.000000000 +0000
3 +++ misc/build/Python-3.11.15/setup.py 2025-01-01 00:00:00.000000000 +0000
/trunk/main/
H A Daclocal.m4183 # 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 DLICENSE308 - 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/pyuno/demo/
H A Dmakefile.mk31 $(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/main/scp2/source/python/
H A Dfile_python.scp119 Name = STRING(CONCAT3(python-core-,PYVERSION,.zip));
130 Name = "python.bin";
137 // Scripting Framework Python script proxy
151 //Scripting Framework Python example scripts
160 // Scripting Framework Python configuration settings
228 Target = STRING(CONCAT2(include/python,PYMAJMIN));
244 HostName = STRING(CONCAT2(python,PYMAJMIN));
279 Name = "python";
280 Target = "../Resources/Python.app/Contents/MacOS/OOoPython";
287 Name = "python";
[all …]
H A Dprofileitem_python.scp53 Value = CONCAT2($ORIGIN/python-core-,PYVERSION);
69 … #define FRAMEWORKLIB CONCAT4($ORIGIN/OOoPython.framework/Versions/,PYMAJMIN,/lib/python,PYMAJMIN)
74 Value = CONCAT7($ORIGIN/python-core-,PYVERSION,
75 /lib $ORIGIN/python-core-,PYVERSION,
76 /lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
81 Value = STRING(CONCAT7($ORIGIN/python-core-,PYVERSION,
82 /lib $ORIGIN/python-core-,PYVERSION,
83 /lib/lib-dynload $ORIGIN/python-core-,PYVERSION,
86 Value = STRING(CONCAT5($ORIGIN/python-core-,PYVERSION,
87 /lib $ORIGIN/python-core-,PYVERSION,
H A Dmodule_python.ulf25 en-US = "Python-UNO Bridge"
28 …bility to automate %PRODUCTNAME with the python scripting language. See http://udk.openoffice.org/
/trunk/main/testtools/source/bridgetest/pyuno/
H A Dmakefile.mk39 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/
H A DAOO-trunk.md37 | **Python baseline** | **3.10.18** | **2.7.18** |
57 is present on both branches. The Python file-editing/embedding base feature was merged
63 trunk targets **Python 3.10** and ships a **native 64-bit Windows UNO bridge**
64 (`msvc_win64_x86-64`); AOO42X deliberately stays on **Python 2.7** and has **no
66 cherry-picks (cf. the explicit AOO42X commit *"revert the Python 3.10 changes,
93 commits (e.g. `c779acf6 Merge branch 'python-editing-embedding'`,
94 `08fafdc14b AOO42X: revert the Python 3.10 changes, keep arm64 support`), so the
125 depend on the Python-3 or Win64 baseline.
138Python editor post-merge fixes** | `a7a66e361b`, `8e23be7474`, `1a9bb40f52`, `1b85a9366d`, `d2cc3a…
141 > AdoptOpenJDK/Java>1.8 detection (`2bf1cfb`, `779db4a`), and the Python
[all …]
/trunk/main/l10ntools/scripts/
H A Dmakefile.mk25 # 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/win10-msvc/
H A DREADME.md30 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 …]

123456789