Skip to content

An example of how to build a wheel using nuitka that has a functioning pyi file.

License

Notifications You must be signed in to change notification settings

Charlie-Warren/Nuitka-Wheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

An example of how to build a wheel using nuitka that has a functioning pyi file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published