Update git submodules
[LibreOffice.git] / external / python3 / ExternalPackage_python3.mk
blob907b0b530c46de61e99b58c1d928caa981cb34b5
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_ExternalPackage_ExternalPackage,python3,python3))
12 $(eval $(call gb_ExternalPackage_use_external_project,python3,python3))
14 ifeq ($(OS),WNT)
15 ifeq ($(CPUNAME),X86_64)
16 python_arch_subdir=amd64/
17 else ifeq ($(CPUNAME),AARCH64)
18 python_arch_subdir=arm64/
19 else
20 python_arch_subdir=win32/
21 endif
23 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/bin/python.exe,PCbuild/$(python_arch_subdir)python$(if $(MSVC_USE_DEBUG_RUNTIME),_d).exe))
24 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/python$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if $(MSVC_USE_DEBUG_RUNTIME),_d).dll,PCbuild/$(python_arch_subdir)python$(PYTHON_VERSION_MAJOR)$(PYTHON_VERSION_MINOR)$(if $(MSVC_USE_DEBUG_RUNTIME),_d).dll))
25 ifeq ($(MSVC_USE_DEBUG_RUNTIME),)
26 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/python$(PYTHON_VERSION_MAJOR).dll,PCbuild/$(python_arch_subdir)python$(PYTHON_VERSION_MAJOR).dll))
27 endif
28 python3_EXTENSION_MODULES= \
29 PCbuild/$(python_arch_subdir)_asyncio$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
30 PCbuild/$(python_arch_subdir)_bz2$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
31 PCbuild/$(python_arch_subdir)_ctypes$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
32 PCbuild/$(python_arch_subdir)_decimal$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
33 PCbuild/$(python_arch_subdir)_elementtree$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
34 PCbuild/$(python_arch_subdir)_msi$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
35 PCbuild/$(python_arch_subdir)_multiprocessing$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
36 PCbuild/$(python_arch_subdir)_overlapped$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
37 PCbuild/$(python_arch_subdir)_queue$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
38 PCbuild/$(python_arch_subdir)_socket$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
39 PCbuild/$(python_arch_subdir)_ssl$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
40 PCbuild/$(python_arch_subdir)pyexpat$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
41 PCbuild/$(python_arch_subdir)select$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
42 PCbuild/$(python_arch_subdir)unicodedata$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
43 PCbuild/$(python_arch_subdir)winsound$(if $(MSVC_USE_DEBUG_RUNTIME),_d).pyd \
45 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
46 $(python3_EXTENSION_MODULES) \
48 else
49 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/python.bin,python))
50 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d).so,libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d).so))
51 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d).so.1.0,libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d).so))
52 $(eval $(call gb_ExternalPackage_add_file,python3,$(LIBO_BIN_FOLDER)/libpython$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d).so.1.0-gdb.py,Tools/gdb/libpython.py))
54 # Unfortunately the python build system does not allow to explicitly enable or
55 # disable these, it just tries to build them and then prints which did not
56 # build successfully without stopping; that's why ExternalProject_python3 explicitly checks for the
57 # existence of all the files on the python3_EXTENSION_MODULES list at the end of the build.
58 # Obviously this list should not contain stuff with external dependencies
59 # that may not be available on baseline systems.
61 python3_EXTENSION_MODULE_SUFFIX=cpython-$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)$(if $(ENABLE_DBGUTIL),d)
62 python3_EXTENSION_MODULES= \
63 LO_lib/array.$(python3_EXTENSION_MODULE_SUFFIX).so \
64 LO_lib/_asyncio.$(python3_EXTENSION_MODULE_SUFFIX).so \
65 LO_lib/audioop.$(python3_EXTENSION_MODULE_SUFFIX).so \
66 LO_lib/binascii.$(python3_EXTENSION_MODULE_SUFFIX).so \
67 LO_lib/_bisect.$(python3_EXTENSION_MODULE_SUFFIX).so \
68 LO_lib/_blake2.$(python3_EXTENSION_MODULE_SUFFIX).so \
69 LO_lib/_bz2.$(python3_EXTENSION_MODULE_SUFFIX).so \
70 LO_lib/cmath.$(python3_EXTENSION_MODULE_SUFFIX).so \
71 LO_lib/_codecs_cn.$(python3_EXTENSION_MODULE_SUFFIX).so \
72 LO_lib/_codecs_hk.$(python3_EXTENSION_MODULE_SUFFIX).so \
73 LO_lib/_codecs_iso2022.$(python3_EXTENSION_MODULE_SUFFIX).so \
74 LO_lib/_codecs_jp.$(python3_EXTENSION_MODULE_SUFFIX).so \
75 LO_lib/_codecs_kr.$(python3_EXTENSION_MODULE_SUFFIX).so \
76 LO_lib/_codecs_tw.$(python3_EXTENSION_MODULE_SUFFIX).so \
77 LO_lib/_contextvars.$(python3_EXTENSION_MODULE_SUFFIX).so \
78 LO_lib/_crypt.$(python3_EXTENSION_MODULE_SUFFIX).so \
79 LO_lib/_csv.$(python3_EXTENSION_MODULE_SUFFIX).so \
80 LO_lib/_ctypes.$(python3_EXTENSION_MODULE_SUFFIX).so \
81 LO_lib/_datetime.$(python3_EXTENSION_MODULE_SUFFIX).so \
82 LO_lib/_decimal.$(python3_EXTENSION_MODULE_SUFFIX).so \
83 LO_lib/_elementtree.$(python3_EXTENSION_MODULE_SUFFIX).so \
84 LO_lib/fcntl.$(python3_EXTENSION_MODULE_SUFFIX).so \
85 LO_lib/grp.$(python3_EXTENSION_MODULE_SUFFIX).so \
86 $(if $(ENABLE_OPENSSL), \
87 LO_lib/_hashlib.$(python3_EXTENSION_MODULE_SUFFIX).so \
88 ) \
89 LO_lib/_heapq.$(python3_EXTENSION_MODULE_SUFFIX).so \
90 LO_lib/_json.$(python3_EXTENSION_MODULE_SUFFIX).so \
91 LO_lib/_lsprof.$(python3_EXTENSION_MODULE_SUFFIX).so \
92 LO_lib/math.$(python3_EXTENSION_MODULE_SUFFIX).so \
93 LO_lib/_md5.$(python3_EXTENSION_MODULE_SUFFIX).so \
94 LO_lib/mmap.$(python3_EXTENSION_MODULE_SUFFIX).so \
95 LO_lib/_multibytecodec.$(python3_EXTENSION_MODULE_SUFFIX).so \
96 LO_lib/_multiprocessing.$(python3_EXTENSION_MODULE_SUFFIX).so \
97 LO_lib/_opcode.$(python3_EXTENSION_MODULE_SUFFIX).so \
98 LO_lib/ossaudiodev.$(python3_EXTENSION_MODULE_SUFFIX).so \
99 LO_lib/parser.$(python3_EXTENSION_MODULE_SUFFIX).so \
100 LO_lib/_pickle.$(python3_EXTENSION_MODULE_SUFFIX).so \
101 LO_lib/_posixshmem.$(python3_EXTENSION_MODULE_SUFFIX).so \
102 LO_lib/_posixsubprocess.$(python3_EXTENSION_MODULE_SUFFIX).so \
103 LO_lib/pyexpat.$(python3_EXTENSION_MODULE_SUFFIX).so \
104 LO_lib/_queue.$(python3_EXTENSION_MODULE_SUFFIX).so \
105 LO_lib/_random.$(python3_EXTENSION_MODULE_SUFFIX).so \
106 LO_lib/resource.$(python3_EXTENSION_MODULE_SUFFIX).so \
107 LO_lib/select.$(python3_EXTENSION_MODULE_SUFFIX).so \
108 LO_lib/_sha1.$(python3_EXTENSION_MODULE_SUFFIX).so \
109 LO_lib/_sha256.$(python3_EXTENSION_MODULE_SUFFIX).so \
110 LO_lib/_sha3.$(python3_EXTENSION_MODULE_SUFFIX).so \
111 LO_lib/_sha512.$(python3_EXTENSION_MODULE_SUFFIX).so \
112 LO_lib/_socket.$(python3_EXTENSION_MODULE_SUFFIX).so \
113 LO_lib/spwd.$(python3_EXTENSION_MODULE_SUFFIX).so \
114 $(if $(ENABLE_OPENSSL), \
115 LO_lib/_ssl.$(python3_EXTENSION_MODULE_SUFFIX).so \
117 LO_lib/_statistics.$(python3_EXTENSION_MODULE_SUFFIX).so \
118 LO_lib/_struct.$(python3_EXTENSION_MODULE_SUFFIX).so \
119 LO_lib/syslog.$(python3_EXTENSION_MODULE_SUFFIX).so \
120 LO_lib/termios.$(python3_EXTENSION_MODULE_SUFFIX).so \
121 LO_lib/unicodedata.$(python3_EXTENSION_MODULE_SUFFIX).so \
122 $(if $(ENABLE_DBGUTIL),, \
123 LO_lib/xxlimited.$(python3_EXTENSION_MODULE_SUFFIX).so \
125 LO_lib/_xxsubinterpreters.$(python3_EXTENSION_MODULE_SUFFIX).so \
126 LO_lib/_xxtestfuzz.$(python3_EXTENSION_MODULE_SUFFIX).so \
127 LO_lib/zlib.$(python3_EXTENSION_MODULE_SUFFIX).so \
129 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/lib-dynload,\
130 $(python3_EXTENSION_MODULES) \
132 endif
134 # headers are not delivered, but used from unpacked dir Include/
135 # (+ toplevel for pyconfig.h)
137 ifeq ($(OS),LINUX)
138 python3_MACHDEP=linux
139 else
140 ifeq ($(OS),MACOSX)
141 python3_MACHDEP=darwin
142 endif
143 endif
145 # that one is generated...
146 ifeq ($(HOST_PLATFORM),powerpc64le-unknown-linux-gnu)
147 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
148 LO_lib/_sysconfigdata_$(if $(ENABLE_DBGUTIL),d)_linux_powerpc64le-linux-gnu.py \
150 else
151 ifeq ($(HOST_PLATFORM),aarch64-unknown-linux-gnu)
152 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
153 LO_lib/_sysconfigdata_$(if $(ENABLE_DBGUTIL),d)_linux_aarch64-linux-gnu.py \
155 else
156 # note: python configure overrides config.guess with something that doesn't
157 # put -pc in its linux platform triplets, so filter that...
158 ifneq ($(OS),WNT)
159 ifeq ($(CPUNAME),ARM)
160 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
161 LO_lib/_sysconfigdata_$(if $(ENABLE_DBGUTIL),d)_$(python3_MACHDEP)_$(subst i686,i386,$(subst v7l-unknown,,$(HOST_PLATFORM))).py \
163 else
164 $(eval $(call gb_ExternalPackage_add_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
165 LO_lib/_sysconfigdata_$(if $(ENABLE_DBGUTIL),d)_$(python3_MACHDEP)_$(subst i686,i386,$(subst -pc,,$(HOST_PLATFORM))).py \
167 endif
168 endif
169 endif
170 endif
173 # packages not shipped:
174 # dbm, sqlite3 - need some database stuff
175 # curses - need curses to build the C module
176 # idlelib, tkinter, turtledemo - need Tk to build the C module
177 # test - probably unnecessary? was explicitly removed #i116738#
178 # venv - why would we need virtual environments
180 # These lists are now sorted with "LC_COLLATE=C sort", by using
181 # find Lib/ -name "*.py" | sort | sed -e 's/^/\t/' -e 's/$/ \\/'
184 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib,\
185 LICENSE \
186 Lib/__future__.py \
187 Lib/__phello__.foo.py \
188 Lib/_bootlocale.py \
189 Lib/_collections_abc.py \
190 Lib/_compat_pickle.py \
191 Lib/_compression.py \
192 Lib/_dummy_thread.py \
193 Lib/_markupbase.py \
194 Lib/_osx_support.py \
195 Lib/_py_abc.py \
196 Lib/_pydecimal.py \
197 Lib/_pyio.py \
198 Lib/_sitebuiltins.py \
199 Lib/_strptime.py \
200 Lib/_threading_local.py \
201 Lib/_weakrefset.py \
202 Lib/abc.py \
203 Lib/aifc.py \
204 Lib/antigravity.py \
205 Lib/argparse.py \
206 Lib/ast.py \
207 Lib/asynchat.py \
208 Lib/asyncore.py \
209 Lib/base64.py \
210 Lib/bdb.py \
211 Lib/binhex.py \
212 Lib/bisect.py \
213 Lib/bz2.py \
214 Lib/cProfile.py \
215 Lib/calendar.py \
216 Lib/cgi.py \
217 Lib/cgitb.py \
218 Lib/chunk.py \
219 Lib/cmd.py \
220 Lib/code.py \
221 Lib/codecs.py \
222 Lib/codeop.py \
223 Lib/colorsys.py \
224 Lib/compileall.py \
225 Lib/configparser.py \
226 Lib/contextlib.py \
227 Lib/contextvars.py \
228 Lib/copy.py \
229 Lib/copyreg.py \
230 Lib/crypt.py \
231 Lib/csv.py \
232 Lib/dataclasses.py \
233 Lib/datetime.py \
234 Lib/decimal.py \
235 Lib/difflib.py \
236 Lib/dis.py \
237 Lib/doctest.py \
238 Lib/dummy_threading.py \
239 Lib/enum.py \
240 Lib/filecmp.py \
241 Lib/fileinput.py \
242 Lib/fnmatch.py \
243 Lib/formatter.py \
244 Lib/fractions.py \
245 Lib/ftplib.py \
246 Lib/functools.py \
247 Lib/genericpath.py \
248 Lib/getopt.py \
249 Lib/getpass.py \
250 Lib/gettext.py \
251 Lib/glob.py \
252 Lib/gzip.py \
253 Lib/hashlib.py \
254 Lib/heapq.py \
255 Lib/hmac.py \
256 Lib/imaplib.py \
257 Lib/imghdr.py \
258 Lib/imp.py \
259 Lib/inspect.py \
260 Lib/io.py \
261 Lib/ipaddress.py \
262 Lib/keyword.py \
263 Lib/linecache.py \
264 Lib/locale.py \
265 Lib/lzma.py \
266 Lib/mailbox.py \
267 Lib/mailcap.py \
268 Lib/mimetypes.py \
269 Lib/modulefinder.py \
270 Lib/netrc.py \
271 Lib/nntplib.py \
272 Lib/ntpath.py \
273 Lib/nturl2path.py \
274 Lib/numbers.py \
275 Lib/opcode.py \
276 Lib/operator.py \
277 Lib/optparse.py \
278 Lib/os.py \
279 Lib/pathlib.py \
280 Lib/pdb.py \
281 Lib/pickle.py \
282 Lib/pickletools.py \
283 Lib/pipes.py \
284 Lib/pkgutil.py \
285 Lib/platform.py \
286 Lib/plistlib.py \
287 Lib/poplib.py \
288 Lib/posixpath.py \
289 Lib/pprint.py \
290 Lib/profile.py \
291 Lib/pstats.py \
292 Lib/pty.py \
293 Lib/py_compile.py \
294 Lib/pyclbr.py \
295 Lib/pydoc.py \
296 Lib/queue.py \
297 Lib/quopri.py \
298 Lib/random.py \
299 Lib/re.py \
300 Lib/reprlib.py \
301 Lib/rlcompleter.py \
302 Lib/runpy.py \
303 Lib/sched.py \
304 Lib/secrets.py \
305 Lib/selectors.py \
306 Lib/shelve.py \
307 Lib/shlex.py \
308 Lib/shutil.py \
309 Lib/signal.py \
310 Lib/site.py \
311 Lib/smtpd.py \
312 Lib/smtplib.py \
313 Lib/sndhdr.py \
314 Lib/socket.py \
315 Lib/socketserver.py \
316 Lib/sre_compile.py \
317 Lib/sre_constants.py \
318 Lib/sre_parse.py \
319 Lib/ssl.py \
320 Lib/stat.py \
321 Lib/statistics.py \
322 Lib/string.py \
323 Lib/stringprep.py \
324 Lib/struct.py \
325 Lib/subprocess.py \
326 Lib/sunau.py \
327 Lib/symbol.py \
328 Lib/symtable.py \
329 Lib/sysconfig.py \
330 Lib/tabnanny.py \
331 Lib/tarfile.py \
332 Lib/telnetlib.py \
333 Lib/tempfile.py \
334 Lib/textwrap.py \
335 Lib/this.py \
336 Lib/threading.py \
337 Lib/timeit.py \
338 Lib/token.py \
339 Lib/tokenize.py \
340 Lib/trace.py \
341 Lib/traceback.py \
342 Lib/tracemalloc.py \
343 Lib/tty.py \
344 Lib/turtle.py \
345 Lib/types.py \
346 Lib/typing.py \
347 Lib/uu.py \
348 Lib/uuid.py \
349 Lib/warnings.py \
350 Lib/wave.py \
351 Lib/weakref.py \
352 Lib/webbrowser.py \
353 Lib/xdrlib.py \
354 Lib/zipapp.py \
355 Lib/zipfile.py \
356 Lib/zipimport.py \
359 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/asyncio,\
360 Lib/asyncio/__init__.py \
361 Lib/asyncio/__main__.py \
362 Lib/asyncio/base_events.py \
363 Lib/asyncio/base_futures.py \
364 Lib/asyncio/base_subprocess.py \
365 Lib/asyncio/base_tasks.py \
366 Lib/asyncio/constants.py \
367 Lib/asyncio/coroutines.py \
368 Lib/asyncio/events.py \
369 Lib/asyncio/exceptions.py \
370 Lib/asyncio/format_helpers.py \
371 Lib/asyncio/futures.py \
372 Lib/asyncio/locks.py \
373 Lib/asyncio/log.py \
374 Lib/asyncio/proactor_events.py \
375 Lib/asyncio/protocols.py \
376 Lib/asyncio/queues.py \
377 Lib/asyncio/runners.py \
378 Lib/asyncio/selector_events.py \
379 Lib/asyncio/sslproto.py \
380 Lib/asyncio/staggered.py \
381 Lib/asyncio/streams.py \
382 Lib/asyncio/subprocess.py \
383 Lib/asyncio/tasks.py \
384 Lib/asyncio/transports.py \
385 Lib/asyncio/trsock.py \
386 Lib/asyncio/unix_events.py \
387 Lib/asyncio/windows_events.py \
388 Lib/asyncio/windows_utils.py \
391 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/collections,\
392 Lib/collections/__init__.py \
393 Lib/collections/abc.py \
396 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/concurrent,\
397 Lib/concurrent/__init__.py \
400 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/concurrent/futures,\
401 Lib/concurrent/futures/__init__.py \
402 Lib/concurrent/futures/_base.py \
403 Lib/concurrent/futures/process.py \
404 Lib/concurrent/futures/thread.py \
407 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/ctypes,\
408 Lib/ctypes/__init__.py \
409 Lib/ctypes/_aix.py \
410 Lib/ctypes/_endian.py \
411 Lib/ctypes/util.py \
412 Lib/ctypes/wintypes.py \
415 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/ctypes/macholib,\
416 Lib/ctypes/macholib/README.ctypes \
417 Lib/ctypes/macholib/fetch_macholib \
418 Lib/ctypes/macholib/fetch_macholib.bat \
419 Lib/ctypes/macholib/__init__.py \
420 Lib/ctypes/macholib/dyld.py \
421 Lib/ctypes/macholib/dylib.py \
422 Lib/ctypes/macholib/framework.py \
425 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/distutils,\
426 Lib/distutils/README \
427 Lib/distutils/__init__.py \
428 Lib/distutils/_msvccompiler.py \
429 Lib/distutils/archive_util.py \
430 Lib/distutils/bcppcompiler.py \
431 Lib/distutils/ccompiler.py \
432 Lib/distutils/cmd.py \
433 Lib/distutils/config.py \
434 Lib/distutils/core.py \
435 Lib/distutils/cygwinccompiler.py \
436 Lib/distutils/debug.py \
437 Lib/distutils/dep_util.py \
438 Lib/distutils/dir_util.py \
439 Lib/distutils/dist.py \
440 Lib/distutils/errors.py \
441 Lib/distutils/extension.py \
442 Lib/distutils/fancy_getopt.py \
443 Lib/distutils/file_util.py \
444 Lib/distutils/filelist.py \
445 Lib/distutils/log.py \
446 Lib/distutils/msvc9compiler.py \
447 Lib/distutils/msvccompiler.py \
448 Lib/distutils/spawn.py \
449 Lib/distutils/sysconfig.py \
450 Lib/distutils/text_file.py \
451 Lib/distutils/unixccompiler.py \
452 Lib/distutils/util.py \
453 Lib/distutils/version.py \
454 Lib/distutils/versionpredicate.py \
457 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/distutils/command,\
458 Lib/distutils/command/__init__.py \
459 Lib/distutils/command/bdist.py \
460 Lib/distutils/command/bdist_dumb.py \
461 Lib/distutils/command/bdist_msi.py \
462 Lib/distutils/command/bdist_rpm.py \
463 Lib/distutils/command/bdist_wininst.py \
464 Lib/distutils/command/build.py \
465 Lib/distutils/command/build_clib.py \
466 Lib/distutils/command/build_ext.py \
467 Lib/distutils/command/build_py.py \
468 Lib/distutils/command/build_scripts.py \
469 Lib/distutils/command/check.py \
470 Lib/distutils/command/clean.py \
471 Lib/distutils/command/command_template \
472 Lib/distutils/command/config.py \
473 Lib/distutils/command/install.py \
474 Lib/distutils/command/install_data.py \
475 Lib/distutils/command/install_egg_info.py \
476 Lib/distutils/command/install_headers.py \
477 Lib/distutils/command/install_lib.py \
478 Lib/distutils/command/install_scripts.py \
479 Lib/distutils/command/register.py \
480 Lib/distutils/command/sdist.py \
481 Lib/distutils/command/upload.py \
482 Lib/distutils/command/wininst-10.0.exe \
483 Lib/distutils/command/wininst-10.0-amd64.exe \
484 Lib/distutils/command/wininst-14.0.exe \
485 Lib/distutils/command/wininst-14.0-amd64.exe \
486 Lib/distutils/command/wininst-6.0.exe \
487 Lib/distutils/command/wininst-7.1.exe \
488 Lib/distutils/command/wininst-8.0.exe \
489 Lib/distutils/command/wininst-9.0.exe \
490 Lib/distutils/command/wininst-9.0-amd64.exe \
493 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/email,\
494 Lib/email/__init__.py \
495 Lib/email/_encoded_words.py \
496 Lib/email/_header_value_parser.py \
497 Lib/email/_parseaddr.py \
498 Lib/email/_policybase.py \
499 Lib/email/architecture.rst \
500 Lib/email/base64mime.py \
501 Lib/email/charset.py \
502 Lib/email/contentmanager.py \
503 Lib/email/encoders.py \
504 Lib/email/errors.py \
505 Lib/email/feedparser.py \
506 Lib/email/generator.py \
507 Lib/email/header.py \
508 Lib/email/headerregistry.py \
509 Lib/email/iterators.py \
510 Lib/email/message.py \
511 Lib/email/parser.py \
512 Lib/email/policy.py \
513 Lib/email/quoprimime.py \
514 Lib/email/utils.py \
517 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/email/mime,\
518 Lib/email/mime/__init__.py \
519 Lib/email/mime/application.py \
520 Lib/email/mime/audio.py \
521 Lib/email/mime/base.py \
522 Lib/email/mime/image.py \
523 Lib/email/mime/message.py \
524 Lib/email/mime/multipart.py \
525 Lib/email/mime/nonmultipart.py \
526 Lib/email/mime/text.py \
529 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/encodings,\
530 Lib/encodings/__init__.py \
531 Lib/encodings/aliases.py \
532 Lib/encodings/ascii.py \
533 Lib/encodings/base64_codec.py \
534 Lib/encodings/big5.py \
535 Lib/encodings/big5hkscs.py \
536 Lib/encodings/bz2_codec.py \
537 Lib/encodings/charmap.py \
538 Lib/encodings/cp037.py \
539 Lib/encodings/cp1006.py \
540 Lib/encodings/cp1026.py \
541 Lib/encodings/cp1125.py \
542 Lib/encodings/cp1140.py \
543 Lib/encodings/cp1250.py \
544 Lib/encodings/cp1251.py \
545 Lib/encodings/cp1252.py \
546 Lib/encodings/cp1253.py \
547 Lib/encodings/cp1254.py \
548 Lib/encodings/cp1255.py \
549 Lib/encodings/cp1256.py \
550 Lib/encodings/cp1257.py \
551 Lib/encodings/cp1258.py \
552 Lib/encodings/cp273.py \
553 Lib/encodings/cp424.py \
554 Lib/encodings/cp437.py \
555 Lib/encodings/cp500.py \
556 Lib/encodings/cp720.py \
557 Lib/encodings/cp737.py \
558 Lib/encodings/cp775.py \
559 Lib/encodings/cp850.py \
560 Lib/encodings/cp852.py \
561 Lib/encodings/cp855.py \
562 Lib/encodings/cp856.py \
563 Lib/encodings/cp857.py \
564 Lib/encodings/cp858.py \
565 Lib/encodings/cp860.py \
566 Lib/encodings/cp861.py \
567 Lib/encodings/cp862.py \
568 Lib/encodings/cp863.py \
569 Lib/encodings/cp864.py \
570 Lib/encodings/cp865.py \
571 Lib/encodings/cp866.py \
572 Lib/encodings/cp869.py \
573 Lib/encodings/cp874.py \
574 Lib/encodings/cp875.py \
575 Lib/encodings/cp932.py \
576 Lib/encodings/cp949.py \
577 Lib/encodings/cp950.py \
578 Lib/encodings/euc_jis_2004.py \
579 Lib/encodings/euc_jisx0213.py \
580 Lib/encodings/euc_jp.py \
581 Lib/encodings/euc_kr.py \
582 Lib/encodings/gb18030.py \
583 Lib/encodings/gb2312.py \
584 Lib/encodings/gbk.py \
585 Lib/encodings/hex_codec.py \
586 Lib/encodings/hp_roman8.py \
587 Lib/encodings/hz.py \
588 Lib/encodings/idna.py \
589 Lib/encodings/iso2022_jp.py \
590 Lib/encodings/iso2022_jp_1.py \
591 Lib/encodings/iso2022_jp_2.py \
592 Lib/encodings/iso2022_jp_2004.py \
593 Lib/encodings/iso2022_jp_3.py \
594 Lib/encodings/iso2022_jp_ext.py \
595 Lib/encodings/iso2022_kr.py \
596 Lib/encodings/iso8859_1.py \
597 Lib/encodings/iso8859_10.py \
598 Lib/encodings/iso8859_11.py \
599 Lib/encodings/iso8859_13.py \
600 Lib/encodings/iso8859_14.py \
601 Lib/encodings/iso8859_15.py \
602 Lib/encodings/iso8859_16.py \
603 Lib/encodings/iso8859_2.py \
604 Lib/encodings/iso8859_3.py \
605 Lib/encodings/iso8859_4.py \
606 Lib/encodings/iso8859_5.py \
607 Lib/encodings/iso8859_6.py \
608 Lib/encodings/iso8859_7.py \
609 Lib/encodings/iso8859_8.py \
610 Lib/encodings/iso8859_9.py \
611 Lib/encodings/johab.py \
612 Lib/encodings/koi8_r.py \
613 Lib/encodings/koi8_t.py \
614 Lib/encodings/koi8_u.py \
615 Lib/encodings/kz1048.py \
616 Lib/encodings/latin_1.py \
617 Lib/encodings/mac_arabic.py \
618 Lib/encodings/mac_centeuro.py \
619 Lib/encodings/mac_croatian.py \
620 Lib/encodings/mac_cyrillic.py \
621 Lib/encodings/mac_farsi.py \
622 Lib/encodings/mac_greek.py \
623 Lib/encodings/mac_iceland.py \
624 Lib/encodings/mac_latin2.py \
625 Lib/encodings/mac_roman.py \
626 Lib/encodings/mac_romanian.py \
627 Lib/encodings/mac_turkish.py \
628 Lib/encodings/mbcs.py \
629 Lib/encodings/oem.py \
630 Lib/encodings/palmos.py \
631 Lib/encodings/ptcp154.py \
632 Lib/encodings/punycode.py \
633 Lib/encodings/quopri_codec.py \
634 Lib/encodings/raw_unicode_escape.py \
635 Lib/encodings/rot_13.py \
636 Lib/encodings/shift_jis.py \
637 Lib/encodings/shift_jis_2004.py \
638 Lib/encodings/shift_jisx0213.py \
639 Lib/encodings/tis_620.py \
640 Lib/encodings/undefined.py \
641 Lib/encodings/unicode_escape.py \
642 Lib/encodings/utf_16.py \
643 Lib/encodings/utf_16_be.py \
644 Lib/encodings/utf_16_le.py \
645 Lib/encodings/utf_32.py \
646 Lib/encodings/utf_32_be.py \
647 Lib/encodings/utf_32_le.py \
648 Lib/encodings/utf_7.py \
649 Lib/encodings/utf_8.py \
650 Lib/encodings/utf_8_sig.py \
651 Lib/encodings/uu_codec.py \
652 Lib/encodings/zlib_codec.py \
655 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/html,\
656 Lib/html/__init__.py \
657 Lib/html/entities.py \
658 Lib/html/parser.py \
661 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/http,\
662 Lib/http/__init__.py \
663 Lib/http/client.py \
664 Lib/http/cookiejar.py \
665 Lib/http/cookies.py \
666 Lib/http/server.py \
669 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/importlib,\
670 Lib/importlib/__init__.py \
671 Lib/importlib/_bootstrap.py \
672 Lib/importlib/_bootstrap_external.py \
673 Lib/importlib/abc.py \
674 Lib/importlib/machinery.py \
675 Lib/importlib/metadata.py \
676 Lib/importlib/resources.py \
677 Lib/importlib/util.py \
680 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/json,\
681 Lib/json/__init__.py \
682 Lib/json/decoder.py \
683 Lib/json/encoder.py \
684 Lib/json/scanner.py \
685 Lib/json/tool.py \
688 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/lib2to3,\
689 Lib/lib2to3/__init__.py \
690 Lib/lib2to3/__main__.py \
691 Lib/lib2to3/Grammar.txt \
692 Lib/lib2to3/PatternGrammar.txt \
693 Lib/lib2to3/btm_matcher.py \
694 Lib/lib2to3/btm_utils.py \
695 Lib/lib2to3/fixer_base.py \
696 Lib/lib2to3/fixer_util.py \
697 Lib/lib2to3/main.py \
698 Lib/lib2to3/patcomp.py \
699 Lib/lib2to3/pygram.py \
700 Lib/lib2to3/pytree.py \
701 Lib/lib2to3/refactor.py \
704 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/lib2to3/fixes,\
705 Lib/lib2to3/fixes/__init__.py \
706 Lib/lib2to3/fixes/fix_apply.py \
707 Lib/lib2to3/fixes/fix_asserts.py \
708 Lib/lib2to3/fixes/fix_basestring.py \
709 Lib/lib2to3/fixes/fix_buffer.py \
710 Lib/lib2to3/fixes/fix_dict.py \
711 Lib/lib2to3/fixes/fix_except.py \
712 Lib/lib2to3/fixes/fix_exec.py \
713 Lib/lib2to3/fixes/fix_execfile.py \
714 Lib/lib2to3/fixes/fix_exitfunc.py \
715 Lib/lib2to3/fixes/fix_filter.py \
716 Lib/lib2to3/fixes/fix_funcattrs.py \
717 Lib/lib2to3/fixes/fix_future.py \
718 Lib/lib2to3/fixes/fix_getcwdu.py \
719 Lib/lib2to3/fixes/fix_has_key.py \
720 Lib/lib2to3/fixes/fix_idioms.py \
721 Lib/lib2to3/fixes/fix_import.py \
722 Lib/lib2to3/fixes/fix_imports.py \
723 Lib/lib2to3/fixes/fix_imports2.py \
724 Lib/lib2to3/fixes/fix_input.py \
725 Lib/lib2to3/fixes/fix_intern.py \
726 Lib/lib2to3/fixes/fix_isinstance.py \
727 Lib/lib2to3/fixes/fix_itertools.py \
728 Lib/lib2to3/fixes/fix_itertools_imports.py \
729 Lib/lib2to3/fixes/fix_long.py \
730 Lib/lib2to3/fixes/fix_map.py \
731 Lib/lib2to3/fixes/fix_metaclass.py \
732 Lib/lib2to3/fixes/fix_methodattrs.py \
733 Lib/lib2to3/fixes/fix_ne.py \
734 Lib/lib2to3/fixes/fix_next.py \
735 Lib/lib2to3/fixes/fix_nonzero.py \
736 Lib/lib2to3/fixes/fix_numliterals.py \
737 Lib/lib2to3/fixes/fix_operator.py \
738 Lib/lib2to3/fixes/fix_paren.py \
739 Lib/lib2to3/fixes/fix_print.py \
740 Lib/lib2to3/fixes/fix_raise.py \
741 Lib/lib2to3/fixes/fix_raw_input.py \
742 Lib/lib2to3/fixes/fix_reduce.py \
743 Lib/lib2to3/fixes/fix_reload.py \
744 Lib/lib2to3/fixes/fix_renames.py \
745 Lib/lib2to3/fixes/fix_repr.py \
746 Lib/lib2to3/fixes/fix_set_literal.py \
747 Lib/lib2to3/fixes/fix_standarderror.py \
748 Lib/lib2to3/fixes/fix_sys_exc.py \
749 Lib/lib2to3/fixes/fix_throw.py \
750 Lib/lib2to3/fixes/fix_tuple_params.py \
751 Lib/lib2to3/fixes/fix_types.py \
752 Lib/lib2to3/fixes/fix_unicode.py \
753 Lib/lib2to3/fixes/fix_urllib.py \
754 Lib/lib2to3/fixes/fix_ws_comma.py \
755 Lib/lib2to3/fixes/fix_xrange.py \
756 Lib/lib2to3/fixes/fix_xreadlines.py \
757 Lib/lib2to3/fixes/fix_zip.py \
760 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/pgen2,\
761 Lib/lib2to3/pgen2/__init__.py \
762 Lib/lib2to3/pgen2/conv.py \
763 Lib/lib2to3/pgen2/driver.py \
764 Lib/lib2to3/pgen2/grammar.py \
765 Lib/lib2to3/pgen2/literals.py \
766 Lib/lib2to3/pgen2/parse.py \
767 Lib/lib2to3/pgen2/pgen.py \
768 Lib/lib2to3/pgen2/token.py \
769 Lib/lib2to3/pgen2/tokenize.py \
772 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/logging,\
773 Lib/logging/__init__.py \
774 Lib/logging/config.py \
775 Lib/logging/handlers.py \
778 ifeq (WNT,$(OS))
779 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/msilib,\
780 Lib/msilib/__init__.py \
781 Lib/msilib/schema.py \
782 Lib/msilib/sequence.py \
783 Lib/msilib/text.py \
785 endif
787 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/multiprocessing,\
788 Lib/multiprocessing/__init__.py \
789 Lib/multiprocessing/connection.py \
790 Lib/multiprocessing/context.py \
791 Lib/multiprocessing/dummy/__init__.py \
792 Lib/multiprocessing/dummy/connection.py \
793 Lib/multiprocessing/forkserver.py \
794 Lib/multiprocessing/heap.py \
795 Lib/multiprocessing/managers.py \
796 Lib/multiprocessing/pool.py \
797 Lib/multiprocessing/popen_fork.py \
798 Lib/multiprocessing/popen_forkserver.py \
799 Lib/multiprocessing/popen_spawn_posix.py \
800 Lib/multiprocessing/popen_spawn_win32.py \
801 Lib/multiprocessing/process.py \
802 Lib/multiprocessing/queues.py \
803 Lib/multiprocessing/reduction.py \
804 Lib/multiprocessing/resource_sharer.py \
805 Lib/multiprocessing/resource_tracker.py \
806 Lib/multiprocessing/shared_memory.py \
807 Lib/multiprocessing/sharedctypes.py \
808 Lib/multiprocessing/spawn.py \
809 Lib/multiprocessing/synchronize.py \
810 Lib/multiprocessing/util.py \
813 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/multiprocessing/dummy,\
814 Lib/multiprocessing/dummy/__init__.py \
815 Lib/multiprocessing/dummy/connection.py \
818 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/pydoc_data,\
819 Lib/pydoc_data/__init__.py \
820 Lib/pydoc_data/_pydoc.css \
821 Lib/pydoc_data/topics.py \
824 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/unittest,\
825 Lib/unittest/__init__.py \
826 Lib/unittest/__main__.py \
827 Lib/unittest/async_case.py \
828 Lib/unittest/case.py \
829 Lib/unittest/loader.py \
830 Lib/unittest/main.py \
831 Lib/unittest/mock.py \
832 Lib/unittest/result.py \
833 Lib/unittest/runner.py \
834 Lib/unittest/signals.py \
835 Lib/unittest/suite.py \
836 Lib/unittest/util.py \
839 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/urllib,\
840 Lib/urllib/__init__.py \
841 Lib/urllib/error.py \
842 Lib/urllib/parse.py \
843 Lib/urllib/request.py \
844 Lib/urllib/response.py \
845 Lib/urllib/robotparser.py \
848 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/wsgiref,\
849 Lib/wsgiref/__init__.py \
850 Lib/wsgiref/handlers.py \
851 Lib/wsgiref/headers.py \
852 Lib/wsgiref/simple_server.py \
853 Lib/wsgiref/util.py \
854 Lib/wsgiref/validate.py \
857 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xml,\
858 Lib/xml/__init__.py \
861 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xml/dom,\
862 Lib/xml/dom/__init__.py \
863 Lib/xml/dom/domreg.py \
864 Lib/xml/dom/expatbuilder.py \
865 Lib/xml/dom/minicompat.py \
866 Lib/xml/dom/minidom.py \
867 Lib/xml/dom/NodeFilter.py \
868 Lib/xml/dom/pulldom.py \
869 Lib/xml/dom/xmlbuilder.py \
872 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xml/etree,\
873 Lib/xml/etree/__init__.py \
874 Lib/xml/etree/cElementTree.py \
875 Lib/xml/etree/ElementInclude.py \
876 Lib/xml/etree/ElementPath.py \
877 Lib/xml/etree/ElementTree.py \
880 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xml/parsers,\
881 Lib/xml/parsers/__init__.py \
882 Lib/xml/parsers/expat.py \
885 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xml/sax,\
886 Lib/xml/sax/__init__.py \
887 Lib/xml/sax/_exceptions.py \
888 Lib/xml/sax/expatreader.py \
889 Lib/xml/sax/handler.py \
890 Lib/xml/sax/saxutils.py \
891 Lib/xml/sax/xmlreader.py \
894 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/xmlrpc,\
895 Lib/xmlrpc/__init__.py \
896 Lib/xmlrpc/client.py \
897 Lib/xmlrpc/server.py \
900 $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/site-packages,\
901 Lib/site-packages/README.txt \
904 # vim: set noet sw=4 ts=4: