Hi Nathan, On Tue, Nov 28, 2023, at 08:42, Nathan wrote: > It looks like `spin build` does `meson build` and `meson install` and doesn't > do `pip install`. I'd like numpy to be importable in a python environment of > my choosing, so I tend to instead manually install numpy into that > environment by invoking pip with something like `python -m pip install . -v > --no-build-isolation -Cbuilddir=build -C'compile_args=-v' > -C'setup_args=-Dbuildtype=debug'. I like seeing the compile command meson > uses, so I pass in `-v` through meson's `compile_args` and I often need a > debug build, so I set the build type manually as well.
That makes sense. We recently added the `spin.pip.install` command for that purpose, but of course you don't *need* a command if you know the invocation :) Stéfan
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com