Adding support for Maturin! 🚀 #311
DavidVujic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Adding a new command - poly build - that can be used for building wheels when deploying projects from a Polylith Workspace and when using Maturin or any other tool without support for build hooks or plugins.
This command is not needed If you are using uv, hatch, PDM, Rye or Poetry.
Usage: by running the
setup
andteardown
sub-commands between the "build wheels" with your favorite Package & Dependency Management tool.Example, using Maturin (with an activated virtual environment):
The setup command is for collecting the needed bricks in a project, and preparing the Python folder structure before building a distribution. The teardown command is for restoring the repo: removing temporary directories. This functionality is already existing when using the Hatchling or PDM build backends together with the Polylith build hooks (as used by
uv
,hatch
andpdm
). Poetry uses themultiproject
plugin to accomplish this, and is not affected by this change.I hope this addition to the tooling will make it possible for even more teams to use the Polylith Architecture and the tooling support! 🌟
Beta Was this translation helpful? Give feedback.
All reactions