Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 675 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 675 Bytes

Nuitka-Wheel

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.

Requirements

pip install .[dev]