-
Is there a recommended way to quickly build a package locally, as fast as possible, for testing changes? With setuptools, I've done something like this: python setup.py build --build-lib build/for-test
PYTHONPATH=build/for-test pytest Using Editable installs work nicely if you're only changing pure Python code, but I'd like to have a solution for changing Cython code with a fast build & test loop as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @takluyver, good question. A few options:
I'd recommend either using editable installs directly, or |
Beta Was this translation helpful? Give feedback.
Hey @takluyver, good question. A few options:
meson compile
&&meson install
does work without touching site-packages if you configured initially withmeson setup builddir --prefix=$PWD/build-install
or something like that.I'd recommend either using editable installs directly, or
spin
. Both should do what you want.