Skip to content

Cython installed in BEFORE ALL is not seen by setup.py #1146

Answered by Czaki
abitrolly asked this question in Q&A
Discussion options

You must be logged in to vote

yes. Because BEFORE_ALL is executed once on host python. To have option for cython visible in setup.py you need to install it in BEFORE_BUILD Then it will be installed in same python as used for build.

But it may not work if build discover that isolated build is required. Then only option to hace cython is use pyproject.toml and put cython in build-system section in list requires like in this comment #1139 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abitrolly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants