Skip to content

Build requirements and editable install #504

Answered by rgommers
mancellin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mancellin, thanks for the question, and glad you're happy so far:)

The reason is that editable installs use --no-build-isolation, which means that any necessary build dependencies must already be installed in the target environment, and pip + meson-python will not attempt to install them when you call pip install -e . --no-build-isolation. I hope that explains it.

Other note: ninja isn't really a Python package, it just happens to be installable from PyPI but it's easier/nicer to install it with your system package manager once and have it always available.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mancellin
Comment options

@rgommers
Comment options

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