Stabilize 'build.py'
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
In order to compile C-extensions, it is currently required to add a build script to the project directory and to pyproject.toml
:
[tool.poetry]
build = "build.py"
This feature is described in #11, but not in the official Poetry documentation. So my question is whether this feature is stable. If this is the case, I would like to propose to include it in the official documentation.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:32 (10 by maintainers)
Top Results From Across the Web
PyPy 1.3: Stabilization
Hello. We're please to announce release of PyPy 1.3. This release has two major improvements. First of all, we stabilized the JIT compiler...
Read more >Only 20 Lines of Python Code, Stabilizer Based on Raspberry Pi
Facebook https://www.facebook.com/AdeeptLab/Official website http://www.adeept.com/
Read more >Install Options — Python Video Stabilization with OpenCV
If you don't have OpenCV installed already there are a couple options. You can build OpenCV using one of the great online tutorials...
Read more >How can I stabilize a machine learning model? - Stack Overflow
I also worked on a similar project, and it's very difficult to improve the model's kappa or f1 score .... This is a...
Read more >Facial Stabilization in MotionBuilder using Python - Chris Evans
Facial Stabilization in MotionBuilder using Python ... You should familiarize yourself with that because this will build on it.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It sounds like there are some design decisions to be made around this (e.g. how much to automate vs how much responsibility to put on the build.py script) but it seems like a really crucial feature to support building extensions both during
poetry install
andpoetry build
in a consistent and documented way. I vote to prioritize this. I’m currently evangelizing poetry within my organization but it will be a hard sell without a supported way to build extensions.I’m using
setuptools
andcython
, does this help? https://github.com/davidcortesortuno/poetry_cython_proj/blob/main/build.py