As of 11 November 2023 Nuitka doesn't produce useful pyi files to allow proper typehints and docstrings in their packages. This project builds a simple maths project into a wheel, compiling it using Nuitka.
Stubgen, part of mypy, is used to generate proper pyi files for the project. In pyproject.toml, Nuitka's own pyi generation is disabled, and instead stubgen's pyi files are added as package data.
Running build.bat generates the pyi files and builds the wheel file using the pyproject.toml specifications.
pip install .[dev]