Skip to content

Testing application built with meson-python #659

Answered by eli-schwartz
voidtrance asked this question in Q&A
Discussion options

You must be logged in to vote

I am not sure what this means. I am using editable builds but do you mean that after the build I would have to copy all of the pure-Python files into the build directory build/cp311?

Editable installs will create a hook loader that ensures that any time you import the project, regardless of current directory and regardless of $PYTHONPATH, you get the version you installed via the editable install. It also has some nice tricks such as automatically reloading any time you modify a source file -- because it will then run ninja to rebuild the C extensions before proceeding with the import, so you can edit source files and rerun your code / tests / interactive interpreter without manually re…

Replies: 1 comment 3 replies

Comment options

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

@eli-schwartz
Comment options

Answer selected by voidtrance
@eli-schwartz
Comment options

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