-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add example pyproject.toml
using poetry
instead of setuptools
#1
Comments
The state of the art best practices for packaging python modules with compiled extensions is just a desolate land of pain and suffering. The crucial detail to defeat python-poetry/poetry#1516 appears to be to require [build-system]
requires = ["poetry-core>=1.0.0", "setuptools>=57.0.0", "Cython>=0.29.27"]
build-backend = "poetry.core.masonry.api" |
There is an initial implementation in the branch poetry. One of the downsides is that installing with
instead of the cleaner and intended
|
I found this issue via search. I'm trying to cytonize parts of a package and also face the problem, that the resulting package will include the original Python, the C-source and the compiled binary. My target is, that the wheel only contains the compiled binary. |
@rnestler Any update to the issue you were facing (i.e, the resulting wheel also includes the original Python code)? |
Take inspiration from:
build.py
)build.py
)build.py
)The text was updated successfully, but these errors were encountered: