- Timestamp:
- Aug 6, 2021 6:37:38 AM (4 years ago)
- Location:
- trunk/src/libs/xpcom18a4/python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/python/Makefile.kmk
r87442 r90537 5 5 6 6 # 7 # Copyright (C) 2009-20 17Oracle Corporation7 # Copyright (C) 2009-2021 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 21 21 # 22 22 # List of supported Python versions, defining a number of 23 # VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|38|38M|39|39M| DEF]_[INC|LIB] variables23 # VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|38|38M|39|39M|310|310M|DEF]_[INC|LIB] variables 24 24 # which get picked up below. 25 25 # … … 647 647 endif 648 648 649 ifdef VBOX_PYTHON310_INC 650 # 651 # Python 3.10 version 652 # 653 DLLS += VBoxPython3_10 654 VBoxPython3_10_EXTENDS = VBoxPythonBase 655 VBoxPython3_10_EXTENDS_BY = appending 656 VBoxPython3_10_TEMPLATE = XPCOM 657 VBoxPython3_10_INCS = $(VBOX_PYTHON310_INC) 658 VBoxPython3_10_LIBS = $(VBOX_PYTHON310_LIB) 659 660 ifdef VBOX_WITH_32_ON_64_MAIN_API 661 ifdef VBOX_PYTHON310_LIB_X86 662 DLLS += VBoxPython3_10_x86 663 VBoxPython3_10_x86_EXTENDS = VBoxPythonBase_x86 664 VBoxPython3_10_x86_EXTENDS_BY = appending 665 VBoxPython3_10_x86_TEMPLATE = XPCOM 666 VBoxPython3_10_x86_INCS = $(VBOX_PYTHON310_INC) 667 VBoxPython3_10_x86_LIBS = $(VBOX_PYTHON310_LIB_X86) 668 endif 669 endif 670 endif 671 672 ifdef VBOX_PYTHON310M_INC 673 # 674 # Python 3.10 version with pymalloc 675 # 676 DLLS += VBoxPython3_10m 677 VBoxPython3_10m_EXTENDS = VBoxPythonBase_m 678 VBoxPython3_10m_EXTENDS_BY = appending 679 VBoxPython3_10m_TEMPLATE = XPCOM 680 VBoxPython3_10m_INCS = $(VBOX_PYTHON310M_INC) 681 VBoxPython3_10m_LIBS = $(VBOX_PYTHON310M_LIB) 682 683 ifdef VBOX_WITH_32_ON_64_MAIN_API 684 ifdef VBOX_PYTHON310M_LIB_X86 685 DLLS += VBoxPython3_10m_x86 686 VBoxPython3_10m_x86_EXTENDS = VBoxPythonBase_x86_m 687 VBoxPython3_10m_x86_EXTENDS_BY = appending 688 VBoxPython3_10m_x86_TEMPLATE_ = XPCOM 689 VBoxPython3_10m_x86_INCS = $(VBOX_PYTHON310M_INC) 690 VBoxPython3_10m_x86_LIBS = $(VBOX_PYTHON310M_LIB_X86) 691 endif 692 endif 693 endif 694 649 695 ifdef VBOX_PYTHONDEF_INC 650 696 # … … 731 777 732 778 include $(FILE_KBUILD_SUB_FOOTER) 733 -
trunk/src/libs/xpcom18a4/python/gen_python_deps.py
r87445 r90537 2 2 3 3 """ 4 Copyright (C) 2009-20 16Oracle Corporation4 Copyright (C) 2009-2021 Oracle Corporation 5 5 6 6 This file is part of VirtualBox Open Source Edition (OSE), as … … 17 17 from distutils.version import StrictVersion 18 18 19 versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m", "3.8", "3.8m", "3.9", "3.9m" ]19 versions = ["2.6", "2.7", "3.1", "3.2", "3.2m", "3.3", "3.3m", "3.4", "3.4m", "3.5", "3.5m", "3.6", "3.6m", "3.7", "3.7m", "3.8", "3.8m", "3.9", "3.9m", "3.10", "3.10m" ] 20 20 prefixes = ["/usr", "/usr/local", "/opt", "/opt/local"] 21 21 known = {} -
trunk/src/libs/xpcom18a4/python/src/module/_xpcom.cpp
r87448 r90537 85 85 # endif 86 86 # if defined(VBOX_PYXPCOM_VERSIONED) && !defined(VBOX_PYXPCOM_MAJOR_VERSIONED) 87 # if PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 87 # if PY_VERSION_HEX >= 0x030a0000 && PY_VERSION_HEX < 0x030b0000 88 # define MODULE_NAME MANGLE_MODULE_NAME("VBoxPython3_10") 89 # define initVBoxPython MANGLE_MODULE_INIT(PyInit_VBoxPython3_10) 90 91 # elif PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 88 92 # define MODULE_NAME MANGLE_MODULE_NAME("VBoxPython3_9") 89 93 # define initVBoxPython MANGLE_MODULE_INIT(PyInit_VBoxPython3_9)
Note:
See TracChangeset
for help on using the changeset viewer.