question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 3 years ago
  • Reactions:11
  • Comments:32 (10 by maintainers)

github_iconTop GitHub Comments

12reactions
medley56commented, Jan 25, 2022

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 and poetry 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.

4reactions
davidcortesortunocommented, Mar 2, 2022

I’m using setuptools and cython, does this help? https://github.com/davidcortesortuno/poetry_cython_proj/blob/main/build.py

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found