Skip to content

How to build locally & with caching? #644

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

You must be logged in to vote

Hey @takluyver, good question. A few options:

  • Editable installs do work, and are automatically rebuilding also Cython (and C, etc.) code if and only if source files are changed.
  • A manual meson compile && meson install does work without touching site-packages if you configured initially with meson setup builddir --prefix=$PWD/build-install or something like that.
  • https://github.com/scientific-python/spin/ UX provides a nice UX for essentially the manual steps above plus setting PYTHONPATH etc.

I'd recommend either using editable installs directly, or spin. Both should do what you want.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@takluyver
Comment options

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