Skip to content

Migrate build process to PEP 621/517 compliance #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

mg-twentyone
Copy link

@mg-twentyone mg-twentyone commented Aug 5, 2025

Description

This PR updates the packaging and build system of bdkpython to align with modern Python packaging standards via pyproject.toml.
Changes:

  • Update pyproject.toml file according to PEP 621 and PEP 517
  • Removed the legacy setup.py file and usage
  • Add metadata such as keywords, classifiers, and URLs
  • Ensure the correct inclusion of Rust extension via [tool.setuptools-rust]
  • Update README.md file by including the new build process.

Fixes #12

Changelog notice

This pull request breaks the current building wheel process

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

@thunderbiscuit
Copy link
Member

Hey this is awesome stuff @mg-twentyone! Are you on our Discord server for BDK? If so please send me a DM!

@mg-twentyone
Copy link
Author

hey @thunderbiscuit. I noticed a bug with the new configuration (project.toml) using setuptools-rust to include the Rust library. I am working to fix it. I will also try to update the workflow in the GitHub Actions by updating the build process for different operating systems. I joined the Discord channel, feel free to reach to me whenever you want. I will get in touch with you as soon as I finish it to provide u with all the details and simplify the review process.

@mg-twentyone mg-twentyone changed the title Migrate build process to PEP 621 compliance Migrate build process to PEP 621/517 compliance Aug 8, 2025
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.

Build warning relating to setup.py file
2 participants