Skip to content

Conversation

grst
Copy link

@grst grst commented Aug 4, 2025

As discussed in #269 (comment), I suggest to use PyPI as one route of distributing air binaries. Amongst others, it would be helpful for implementing an official pre-commit hook.

I gave it a try, and it turns out it is actually quite simple to build python wheels for rust projects using the maturin build backend. A simple pyproject.toml file is enough.

To test, simply run

> uv run air --help

from a directory that has this PR checked out and it will compile the project and execute the air from the python package.

Using

uv build

the wheels can be compiled that could be distributed via PyPI.

This PR is meant as a proof-of-concept. If you are interested, I can also help setting up a github action for PyPI publishing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant