Skip to content

Conversation

@alexrashed
Copy link
Member

Motivation

We currently use setuptools and the sdist command to create a source distribution before publishing the dist with twine.
But direct invocations of setup.py have been deprecated, and we want to publish a wheel distribution as well.
This PR switches to build which solves both of these issues.
Fixes #78.

Changes

  • Use build instead of directly invoking setup.py to build a source and wheel distribution before publishing.

@alexrashed alexrashed requested a review from silv-io July 24, 2025 07:26
@alexrashed alexrashed added the enhancement New feature or request label Jul 24, 2025
@alexrashed alexrashed mentioned this pull request Jul 24, 2025
Copy link
Member

@silv-io silv-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Maybe in the future uv build and uv publish ;P

@alexrashed
Copy link
Member Author

I absolutely don't see a reason to use uv in this project. 🤣

@alexrashed alexrashed merged commit e97f179 into main Jul 24, 2025
3 checks passed
@alexrashed alexrashed deleted the build-wheel branch July 24, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

publish a wheel

3 participants