Skip to content

How to install build-system requirements depending on extra values given to pip? #3873

Answered by abravalheri
liZe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @liZe , I am afraid setuptools is not involved in the construction of the environment used for the build or the installation of [build-system] requires. It will only be invoked after that is already done.

If I understood your question correctly, the build-front end (e.g. pypa/build or pypa/pip) would have to take into consideration the extra of the package you are trying to install when evaluating the markers in [build-system] requires, but I am not sure if they support that (or plan to support)...

Probably the best place to ask information would be pypa/build or pypa/pip.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@liZe
Comment options

@webknjaz
Comment options

@liZe
Comment options

Answer selected by liZe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants