-
Notifications
You must be signed in to change notification settings - Fork 100
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
Difference in use cases between setuptools-rust and pyo3-pack #48
Comments
Indeed, I've been using |
I'm definitely open to changing the readme to make it more clear what pyo3-pack can and can't do. I think the most basic description of what it does is "build a rust crate into a wheel". (I'd also like to support also having python code in the wheel, but that's nothing I could advertise as of now). I'd still like to point to pyo3-pack in the readme since it's more beginner friendly and not setuptools based, but it should be a more humble statement. Regarding the multiple python extensions: Is there a special reason why you need multiple extensions and don't just bundle everything in a single cdylib? |
Other usecase: you want provide a source release to PyPI if you cannot provide wheels for all the required platforms, end-users will still be able to use |
Closing as resolved. |
The first line of the readme currently states,
However, if I have a python package with a few rust extensions, one cannot use pyo3-pack to build wheels for it (that would also include the python code and possibly some C Python extensions), right? So in that use case,
setuptools-rust
will always be needed unless I am missing something?Maybe that could be more clearly stated both in the pyo3-pack and setuptools-rust readme? I started by using
pyo3-pack
as it was advertised as "better" before realizing thatsetuptools-rust
is more appropriate for my use-case.The text was updated successfully, but these errors were encountered: