pypa / packaging-problems

An issue tracker for the problems in packaging
151 stars 35 forks source link

Package generated by "nuitka.distutils.Build" couldn't be installed to a virtualenv, but "setuptools.build_meta" do. #690

Open rushwing opened 1 year ago

rushwing commented 1 year ago

Problem description

OS version MacOS Ventura 13.5.2

Python version Python 3.11.4

Pip version pip 23.1.2

Nuitka version 1.8.1

Guide link https://nuitka.net/doc/user-manual.html#use-case-5-setuptools-wheels

Problem description I have created an setuptools wheel using Nuitka (A Python Obfuscate Tool) for a project which was used to parse configurations from json format files. (https://nuitka.net/doc/user-manual.html#use-case-5-setuptools-wheels). I used pyproject.toml as follows, and the only difference compared with using built-in Python setuptools is I used "nuitka.distutils.Build" rather than "setuptools.build_meta" in the "build-backend" section:

[project]
name = "serviceconfig"
version = "1.0.0"
description = "Reading service configurations for microservices"
readme = "README.rst"
requires-python = ">=3.8"

[project.scripts]
service_config = "configs.service_config:ServiceConfig"

[build-system]
# requires = ["setuptools>=42", "wheel", "toml"]
requires = ["setuptools>=42", "wheel", "nuitka", "toml"]
# build-backend = "setuptools.build_meta"
build-backend = "nuitka.distutils.Build"

[nuitka]
show-scons = true
include-package = "configs"
nofollow-import-to = ["*.tests", "*.distutils"]

and setup.py as follows:

from setuptools import setup

setup()

and I used cmake script to build the package:

include(${CMAKE_CURRENT_LIST_DIR}/env_variables.cmake)

if(DEFINED ENV{VIRTUAL_ENV} AND "$ENV{VIRTUAL_ENV}" MATCHES ".*${VENV_NAME}.*")
    set(PYTHON_EXE_PATH "python")
else()
    set(PYTHON_EXE_PATH ${PYTHON_EXECUTABLE})
endif()

# Silent clean the old build folders if exists
if(CLEAN_BUILD)
    file(REMOVE_RECURSE ${SERVICE_PATH}/build OPTIONAL)
    file(REMOVE_RECURSE ${SERVICE_PATH}/dist OPTIONAL)
    file(REMOVE_RECURSE ${SERVICE_PATH}/drivers.egg-info OPTIONAL)
endif()

if(NUITKA_BUILD)
    message("SYSTEM_PYTHON_PATH = ${SYSTEM_PYTHON_PATH}")
    message("SERVICE_PATH = ${SERVICE_PATH}")
    # Nuitka build is for deployment to target station
    execute_process(
        COMMAND ${SYSTEM_PYTHON_PATH} -m build
        WORKING_DIRECTORY ${SERVICE_PATH}
        RESULT_VARIABLE RESULT
    )

    if(NOT RESULT EQUAL "0")
        message(FATAL_ERROR "[${PYTHON_CONFIG}] Failed to build the Python Configs package.")
    endif()

else()
    # Virtualenv is for framework developers ONLY to debug on their own machine
    execute_process(
        COMMAND ${PYTHON_EXE_PATH} setup.py install
        WORKING_DIRECTORY "${SERVICE_PATH}"
        RESULT_VARIABLE SETUP_RESULT
    )

    if(NOT SETUP_RESULT EQUAL "0")
    message(FATAL_ERROR "[${PYTHON_CONFIG}] Failed to install Python Configs package.")
    endif()

endif()

The PYTHON_EXE_PATH is pointed to the python exe of the virtualenv I created, while the SYSTEM_PYTHON_PATH is pointed to the system python path. Both of them are 3.11.4.

and the install_configs.cmake is as follows:

include(${CMAKE_CURRENT_LIST_DIR}/env_variables.cmake)

set(WHL_SRC "${CMAKE_BINARY_DIR}/../${CONFIG_PCK_FOLDER}/dist")
set(WHL_DST "${CMAKE_BINARY_DIR}/${CONFIG_PCK_FOLDER}")

# Use Regular expression to match the files end with ".whl"
file(GLOB WHL_FILES "${WHL_SRC}/*.whl")

# Iterate and install
foreach(WHL_FILE ${WHL_FILES})
    message("[${CONFIG_INSTALL_PHASE}] Found .whl file: ${WHL_FILE}")

    # Get filename.
    get_filename_component(WHL_FILE_NAME ${WHL_FILE} NAME)

    # Copy whl files from /columbus_configs/dist folder to /build/columbus_configs folder
    file(COPY "${WHL_FILE}" DESTINATION "${WHL_DST}")

    message("PYTHON_EXECUTABLE = ${PYTHON_EXECUTABLE}")
    # Install whl file
    execute_process(
        COMMAND ${PYTHON_EXECUTABLE} -m pip install ${WHL_DST}/${WHL_FILE_NAME}
        RESULT_VARIABLE INSTALL_RESULT
    )

    if (NOT INSTALL_RESULT EQUAL "0")
        message(FATAL_ERROR "[${CONFIG_INSTALL_PHASE}] Failed to install ${WHL_FILE_NAME}.")
    endif()
endforeach()

Overall, I tried to use the system path Python to create the wheel (it would actually create its own virtualenv isolated environment), and then install the wheel on the virtualenv I created for other projects. I would be successful with "setuptools.build_meta", but failed with "nuitka.distutils.Build".

The successful log with "setuptools.build_meta" is like this:

[PYTHON_CONFIG] Building Python Configs package...
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/sample_configs && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -D SERVICE_PATH=/Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs -D CLEAN_BUILD=ON -D NUITKA_BUILD=ON -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/../scripts/py_cfg_build.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
SYSTEM_PYTHON_PATH = /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11
SERVICE_PATH = /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools>=42, toml, wheel)
* Getting build dependencies for sdist...
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
running check
creating serviceconfig-1.0.0
creating serviceconfig-1.0.0/configs
creating serviceconfig-1.0.0/serviceconfig.egg-info
copying files to serviceconfig-1.0.0...
copying README.rst -> serviceconfig-1.0.0
copying pyproject.toml -> serviceconfig-1.0.0
copying setup.py -> serviceconfig-1.0.0
copying configs/__init__.py -> serviceconfig-1.0.0/configs
copying configs/exceptions.py -> serviceconfig-1.0.0/configs
copying configs/service_config.py -> serviceconfig-1.0.0/configs
copying serviceconfig.egg-info/PKG-INFO -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/SOURCES.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/dependency_links.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/entry_points.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/top_level.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
Writing serviceconfig-1.0.0/setup.cfg
Creating tar archive
removing 'serviceconfig-1.0.0' (and everything under it)
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools>=42, toml, wheel)
* Getting build dependencies for wheel...
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
* Installing packages in isolated environment... (wheel)
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/configs
copying configs/__init__.py -> build/lib/configs
copying configs/service_config.py -> build/lib/configs
copying configs/exceptions.py -> build/lib/configs
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
installing to build/bdist.macosx-13-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-13-arm64
creating build/bdist.macosx-13-arm64/wheel
creating build/bdist.macosx-13-arm64/wheel/configs
copying build/lib/configs/__init__.py -> build/bdist.macosx-13-arm64/wheel/configs
copying build/lib/configs/service_config.py -> build/bdist.macosx-13-arm64/wheel/configs
copying build/lib/configs/exceptions.py -> build/bdist.macosx-13-arm64/wheel/configs
running install_egg_info
Copying serviceconfig.egg-info to build/bdist.macosx-13-arm64/wheel/serviceconfig-1.0.0-py3.11.egg-info
running install_scripts
creating build/bdist.macosx-13-arm64/wheel/serviceconfig-1.0.0.dist-info/WHEEL
creating '/Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs/dist/.tmp-nnlgi11i/serviceconfig-1.0.0-py3-none-any.whl' and adding 'build/bdist.macosx-13-arm64/wheel' to it
adding 'configs/__init__.py'
adding 'configs/exceptions.py'
adding 'configs/service_config.py'
adding 'serviceconfig-1.0.0.dist-info/METADATA'
adding 'serviceconfig-1.0.0.dist-info/WHEEL'
adding 'serviceconfig-1.0.0.dist-info/entry_points.txt'
adding 'serviceconfig-1.0.0.dist-info/top_level.txt'
adding 'serviceconfig-1.0.0.dist-info/RECORD'
removing build/bdist.macosx-13-arm64/wheel
Successfully built serviceconfig-1.0.0.tar.gz and serviceconfig-1.0.0-py3-none-any.whl
[ 40%] Built target PYTHON_CONFIG
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_BUILD.dir/build.make CMakeFiles/CONFIG_BUILD.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/CONFIG_BUILD.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_BUILD.dir/build.make CMakeFiles/CONFIG_BUILD.dir/build
[ 60%] Running sample Configs Build Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [CONFIG_BUILD]\ Building\ sample\ Configs\ package\ ...
[CONFIG_BUILD] Building sample Configs package ...
[ 60%] Built target CONFIG_BUILD
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/VENV_SETUP.dir/build.make CMakeFiles/VENV_SETUP.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/VENV_SETUP.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/VENV_SETUP.dir/build.make CMakeFiles/VENV_SETUP.dir/build
[ 80%] Running Virtualenv Setup Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [VENV_SETUP]\ Setting\ up\ Virtualenv\ for\ Python\ ...
[VENV_SETUP] Setting up Virtualenv for Python ...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/scripts/virtualenv_setup.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
[VENV_SETUP] Checking if virtualenv is already installed...
[VENV_SETUP] virtualenv is already installed.
[VENV_SETUP] Virtual environment "sample_app_venv" already exists.
[ 80%] Built target VENV_SETUP
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_INSTALL.dir/build.make CMakeFiles/CONFIG_INSTALL.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/CONFIG_INSTALL.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_INSTALL.dir/build.make CMakeFiles/CONFIG_INSTALL.dir/build
[100%] Running sample Configs Install Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [CONFIG_INSTALL]\ Installing\ sample\ Configs\ packages\ ...
[CONFIG_INSTALL] Installing sample Configs packages ...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/scripts/install_configs.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
[CONFIG_INSTALL] Found .whl file: /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/../sample_configs/dist/serviceconfig-1.0.0-py3-none-any.whl
PYTHON_EXECUTABLE = /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/sample_app_venv/bin/python
Looking in indexes: https://pypi.org/simple, http://pypi.douban.com/simple, https://pypi.tuna.tsinghua.edu.cn/simple, http://pypi.mirrors.ustc.edu.cn/simple, http://pypi.hustunique.com
Processing ./sample_configs/serviceconfig-1.0.0-py3-none-any.whl
Installing collected packages: serviceconfig
Successfully installed serviceconfig-1.0.0
[100%] Built target CONFIG_INSTALL
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG.dir/build.make CMakeFiles/CONFIG.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/CONFIG.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG.dir/build.make CMakeFiles/CONFIG.dir/build
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [CONFIG]\ sample\ Configs\ Finished!
[CONFIG] sample Configs Finished!
[100%] Built target CONFIG
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_progress_start /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles 0

The failed log with "nuitka.distutils.Build" is like this:

[PYTHON_CONFIG] Building Python Configs package...
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/sample_configs && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -D SERVICE_PATH=/Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs -D CLEAN_BUILD=ON -D NUITKA_BUILD=ON -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/../scripts/py_cfg_build.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
SYSTEM_PYTHON_PATH = /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11
SERVICE_PATH = /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (nuitka, setuptools>=42, toml, wheel)
* Getting build dependencies for sdist...
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
running check
creating serviceconfig-1.0.0
creating serviceconfig-1.0.0/configs
creating serviceconfig-1.0.0/serviceconfig.egg-info
copying files to serviceconfig-1.0.0...
copying README.rst -> serviceconfig-1.0.0
copying pyproject.toml -> serviceconfig-1.0.0
copying setup.py -> serviceconfig-1.0.0
copying configs/__init__.py -> serviceconfig-1.0.0/configs
copying configs/exceptions.py -> serviceconfig-1.0.0/configs
copying configs/service_config.py -> serviceconfig-1.0.0/configs
copying serviceconfig.egg-info/PKG-INFO -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/SOURCES.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/dependency_links.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/entry_points.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
copying serviceconfig.egg-info/top_level.txt -> serviceconfig-1.0.0/serviceconfig.egg-info
Writing serviceconfig-1.0.0/setup.cfg
Creating tar archive
removing 'serviceconfig-1.0.0' (and everything under it)
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (nuitka, setuptools>=42, toml, wheel)
* Getting build dependencies for wheel...
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
* Installing packages in isolated environment... (wheel)
* Building wheel...
running bdist_nuitka
running build
Nuitka-Wheel:INFO: Specified packages: ['configs'].
Nuitka-Wheel:INFO: Specified modules: None.
running build_py
creating build
creating build/lib
creating build/lib/configs
copying configs/__init__.py -> build/lib/configs
copying configs/service_config.py -> build/lib/configs
copying configs/exceptions.py -> build/lib/configs
running egg_info
writing serviceconfig.egg-info/PKG-INFO
writing dependency_links to serviceconfig.egg-info/dependency_links.txt
writing entry points to serviceconfig.egg-info/entry_points.txt
writing top-level names to serviceconfig.egg-info/top_level.txt
reading manifest file 'serviceconfig.egg-info/SOURCES.txt'
writing manifest file 'serviceconfig.egg-info/SOURCES.txt'
Nuitka-Wheel:INFO: Building: 'configs' with command '['/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/bin/python', '-m', 'nuitka', '--module', '--enable-plugin=pylint-warnings', '--output-dir=/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib', '--nofollow-import-to=*.tests', '--remove-output', '--include-package=configs', '--show-scons', '--include-package=configs', '--nofollow-import-to=*.tests', '--nofollow-import-to=*.distutils', '/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs']'
Nuitka-Options:INFO: Used command line options: --module --enable-plugin=pylint-warnings --output-dir=/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib --nofollow-import-to=*.tests --remove-output --include-package=configs --show-scons --include-package=configs --nofollow-import-to=*.tests --nofollow-import-to=*.distutils /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs
Nuitka:INFO: Starting Python compilation with Nuitka '1.8.1' on Python '3.11' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Scons command: /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/bin/python -W ignore /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/inline_copy/bin/scons.py -f /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/Backend.scons --jobs 10 --warn=no-deprecated --no-site-dir --debug=stacktrace result_name=/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs source_dir=. nuitka_python=false debug_mode=false python_debug=false module_mode=true full_compat=false experimental= trace_mode=false python_version=3.11 nuitka_src=/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build file_reference_mode=runtime module_count=3 module_suffix=.cpython-311-darwin.so python_prefix=/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11 no_deployment= clang_mode=true show_scons=true noelf_mode=true macos_min_version=13.0 macos_target_arch=arm64 target_arch=arm64
scons: Reading SConscript files ...
Nuitka-Scons:INFO: CC '/usr/bin/gcc' version check gives (14, 0, 3)
Nuitka-Scons:INFO: Initial CC: 'gcc'
Nuitka-Scons:INFO: Initial CCVERSION: (14, 0, 3)
Scons: Compiler used /usr/bin/clang 
Nuitka-Scons:INFO: Backend C compiler: clang (clang).
Nuitka-Scons:INFO: LTO mode auto was resolved to mode: 'yes' (known to be supported (macOS clang)).
Nuitka-Scons:INFO: Using C11 mode: True
Nuitka-Scons:INFO: Using resource mode: 'mac_section' (default for macOS).
Nuitka-Scons:INFO: Scons: Inherited CPPFLAGS='-I/opt/homebrew/opt/openssl@3/include' variable.
Nuitka-Scons:INFO: Scons: Inherited LDFLAGS='-L/opt/homebrew/opt/openssl@3/lib' variable.
Nuitka-Scons:INFO: Told to run compilation on 10 CPUs.
Nuitka-Scons:INFO: Checking if ccache is at '/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/bin/ccache' guessed path.
Nuitka-Scons:INFO: Checking if ccache is at '/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/bin/ccache' guessed path.
Nuitka-Scons:INFO: Checking if ccache is at '/usr/local/opt/ccache' guessed path.
Nuitka-Scons:INFO: Checking if ccache is at '/opt/homebrew/bin/ccache' guessed path.
Nuitka-Scons:INFO: Found ccache '/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache' to cache C compilation result.
Nuitka-Scons:INFO: Providing real CC path '/usr/bin/clang' via PATH extension.
Nuitka-Scons:INFO: Launching Scons target: ['/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.cpython-311-darwin.so']
scons: done reading SConscript files.
scons: Building targets ...
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o __constants.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src __constants.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o __helpers.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src __helpers.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o __loader.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src __loader.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o module.configs.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src module.configs.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o module.configs.exceptions.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src module.configs.exceptions.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o module.configs.service_config.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src module.configs.service_config.c
"/Users/danielwong/Library/Caches/Nuitka/downloads/ccache/v4.2.1/ccache" "/usr/bin/clang" -o static_src/CompiledFunctionType.os -c -flto -std=c11 -fvisibility=hidden -fwrapv -pipe -w -fvisibility=hidden -fvisibility-inlines-hidden --target=arm64-apple-macos13.0 -O3 -fPIC -I/opt/homebrew/opt/openssl@3/include -D_XOPEN_SOURCE -D__NUITKA_NO_ASSERT__ -D_NUITKA_CONSTANTS_FROM_MACOS_SECTION -D_NUITKA_FROZEN=0 -D_NUITKA_MODULE -I/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/include/python3.11 -I. -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/include -I/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-env-bzgw448t/lib/python3.11/site-packages/nuitka/build/static_src static_src/CompiledFunctionType.c
Nuitka-Scons:INFO: Backend linking program with 7 files (no progress information available for this stage).
"/usr/bin/clang" -o /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.cpython-311-darwin.so -flto --target=arm64-apple-macos13.0 -O3 -Wno-deprecated-declarations -undefined dynamic_lookup -Wl,-sectcreate,constants,constants,./__constants.bin -L/opt/homebrew/opt/openssl@3/lib -dynamiclib @"./@link_input.txt" -lm
scons: done building targets.
Nuitka-Scons:INFO: Compiled 7 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 7
Nuitka:INFO: Removing build directory '/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.build'.
Nuitka:INFO: Successfully created '/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.cpython-311-darwin.so'.
Nuitka:WARNING: The compilation result is hidden by package directory '/private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs'. Importing will not use compiled code while it exists.
Nuitka-Wheel:INFO: Finished compilation of 'configs'.
installing to build/bdist.macosx-13-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-13-arm64
creating build/bdist.macosx-13-arm64/wheel
copying /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.cpython-311-darwin.so -> build/bdist.macosx-13-arm64/wheel
creating build/bdist.macosx-13-arm64/wheel/configs
copying /private/var/folders/ql/05dw_j5x4pg52d5dfl4kbqgr0000gn/T/build-via-sdist-2js9ixvm/serviceconfig-1.0.0/build/lib/configs.pyi -> build/bdist.macosx-13-arm64/wheel
running install_egg_info
Copying serviceconfig.egg-info to build/bdist.macosx-13-arm64/wheel/serviceconfig-1.0.0-py3.11.egg-info
creating build/bdist.macosx-13-arm64/wheel/serviceconfig-1.0.0.dist-info/WHEEL
creating '/Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/sample_configs/dist/.tmp-_6xxzj3x/serviceconfig-1.0.0-cp311-cp311-macosx_13_arm64.whl' and adding 'build/bdist.macosx-13-arm64/wheel' to it
adding 'configs.cpython-311-darwin.so'
adding 'configs.pyi'
adding 'serviceconfig-1.0.0.dist-info/METADATA'
adding 'serviceconfig-1.0.0.dist-info/WHEEL'
adding 'serviceconfig-1.0.0.dist-info/entry_points.txt'
adding 'serviceconfig-1.0.0.dist-info/top_level.txt'
adding 'serviceconfig-1.0.0.dist-info/RECORD'
removing build/bdist.macosx-13-arm64/wheel
Successfully built serviceconfig-1.0.0.tar.gz and serviceconfig-1.0.0-cp311-cp311-macosx_13_arm64.whl
[ 40%] Built target PYTHON_CONFIG
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_BUILD.dir/build.make CMakeFiles/CONFIG_BUILD.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/CONFIG_BUILD.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_BUILD.dir/build.make CMakeFiles/CONFIG_BUILD.dir/build
[ 60%] Running sample Configs Build Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [CONFIG_BUILD]\ Building\ sample\ Configs\ package\ ...
[CONFIG_BUILD] Building sample Configs package ...
[ 60%] Built target CONFIG_BUILD
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/VENV_SETUP.dir/build.make CMakeFiles/VENV_SETUP.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/VENV_SETUP.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/VENV_SETUP.dir/build.make CMakeFiles/VENV_SETUP.dir/build
[ 80%] Running Virtualenv Setup Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [VENV_SETUP]\ Setting\ up\ Virtualenv\ for\ Python\ ...
[VENV_SETUP] Setting up Virtualenv for Python ...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/scripts/virtualenv_setup.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
[VENV_SETUP] Checking if virtualenv is already installed...
[VENV_SETUP] virtualenv is already installed.
[VENV_SETUP] Virtual environment "sample_app_venv" already exists.
[ 80%] Built target VENV_SETUP
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_INSTALL.dir/build.make CMakeFiles/CONFIG_INSTALL.dir/depend
cd /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build && /opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/CMakeFiles/CONFIG_INSTALL.dir/DependInfo.cmake "--color="
/Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/CONFIG_INSTALL.dir/build.make CMakeFiles/CONFIG_INSTALL.dir/build
[100%] Running sample Configs Install Phase...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -E echo [CONFIG_INSTALL]\ Installing\ sample\ Configs\ packages\ ...
[CONFIG_INSTALL] Installing sample Configs packages ...
/opt/homebrew/Cellar/cmake/3.27.4/bin/cmake -P /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/scripts/install_configs.cmake
-- Found Python3: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter 
[CONFIG_INSTALL] Found .whl file: /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/../sample_configs/dist/serviceconfig-1.0.0-cp311-cp311-macosx_13_arm64.whl
PYTHON_EXECUTABLE = /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/build/sample_app_venv/bin/python
Looking in indexes: https://pypi.org/simple, http://pypi.douban.com/simple, https://pypi.tuna.tsinghua.edu.cn/simple, http://pypi.mirrors.ustc.edu.cn/simple, http://pypi.hustunique.com
ERROR: serviceconfig-1.0.0-cp311-cp311-macosx_13_arm64.whl is not a supported wheel on this platform.
CMake Error at /Users/danielwong/PycharmProjects/xxxxxxx/xxxxxxx/projects/xxxxxxx/sample/sample_app/scripts/install_configs.cmake:27 (message):
  [CONFIG_INSTALL] Failed to install
  serviceconfig-1.0.0-cp311-cp311-macosx_13_arm64.whl.

make[3]: *** [CMakeFiles/CONFIG_INSTALL] Error 1
make[2]: *** [CMakeFiles/CONFIG_INSTALL.dir/all] Error 2
make[1]: *** [CMakeFiles/CONFIG.dir/rule] Error 2
make: *** [CONFIG] Error 2

I want to use Nuitka for building the distribute package as it would compile to C binaries to speed up the performance. How could I modify the project to enable installing wheels with Nuitka build? I used to use the same way to create a distribute wheel package for Windows, and it worked.