Open adrinjalali opened 1 day ago
This seems to do the trick for spin
0.12
, assuming we're "ok" with delaying support for custom development build dirs:
--- a/.spin/cmds.py
+++ b/.spin/cmds.py
@@ -679,7 +679,8 @@ def ipython(ctx, ipython_args):
ctx.invoke(build)
- ppath = meson._set_pythonpath()
+ # TODO: support custom build directory
+ ppath = meson._set_pythonpath("build")
It also seems to still work with spin
0.11
. This is presumably the result of https://github.com/scientific-python/spin/pull/221. I'll defer to @stefanv if that patch might suffice or if they want to put the work in to support the custom build dir right away.
Great, can apply that patch here: https://github.com/numpy/numpy/pull/27371
Trying
spin ipython
fails with the following error:spin python
andspin build
andspin test
work as expected.Installed package info: