Skip to content

Alternative to setup.py build_ext #3388

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

You must be logged in to vote

Hi @codeandfire, thank you very much for thoroughly exploring the docs and bringing attention to some points that might be problematic. It really helps.

I don't a replacement for "partial" commands is planned (i.e. commands that just build part of the distribution). Users can run python -m build --wheel to compile the entire wheel without passing through the sdist, but there is nothing currently planned to just build the extensions without the rest of the package.

I think that running pip install -e . might have as a side effect compiling the extensions "in-place" and leaving the binary files available under the working directory.

If there is a compelling use case we probably would need t…

Replies: 1 comment 3 replies

Comment options

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

codeandfire Jun 18, 2022
Collaborator Author

@abravalheri
Comment options

@codeandfire
Comment options

codeandfire Jun 18, 2022
Collaborator Author

Answer selected by codeandfire
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