Henry Schreiner
Henry Schreiner
You can't run arbitrary Python during the build, at least not yet. The general idea is users should use CMake if they want custom code. And you can't use `setup.py`,...
You cannot install to site-packages directly when making a wheel. You must install to the wheel and then let pip or installer unpack it into site-packages.
I’ll have to look, I’m worried about making assumptions that might not always be true. FYI FindPython provides the site packages dir as Python_SITEARCH (https://cmake.org/cmake/help/latest/module/FindPython.html).
I think you can get the ROOT dir and compute it with cmake's relative path computation. But I'm pretty sure this is not something you can put in a wheel....
This seems reasonable; what would you expect for the name? `build.args` seems like it might refer to `cmake --build . ` rather than `cmake --build . -- `? The former...
An example is https://github.com/scikit-hep/boost-histogram/tree/develop/src/boost_histogram/_core, which is a stub (directory) for `boost_histogram/_core.so`.
You should use cibuildwheel (technically, the contents of repair-wheel-command) to make a redistributable wheel. While you can do some of it in CMake, they do other things, like if you...
> Yeah, but there are situations where you would also want to have it without rpath Ah, yes, that too - scikit-build-core can't know if you are interested in redistribution,...
That temporary directory is removed by pip, so the path is there, it's just gone by the time vscode is looking for it. If you disable build isolation and install...
(which cookiecutter template?)