Henry Schreiner
Henry Schreiner
Is there some way to detect the target language of a module before compiling it? For a CMake helper, it would be nice to know what language is being targeted,...
Why would you pass multiple files to `cython`? If you pass a `.pyx` file it creates a `.c/.cxx` file (that you can specify with `--output-file`), but why would you pass...
Okay, here's my proposed helper function: ```cmake cythonize( [LANGUAGE C | CXX] [CYTHON_ARGS ...] [OUTPUT ] [OUTPUT_VARIABLE ] ) ``` If LANGUAGE is missing, it tries to deduce it. You...
FYI, I think this might need to be conditional, as there were some issues with sysconfig before 3.10 or so.
Ahh, forgot about this, feel free to ping me. This fixes #1047. I'd probably wait to increase the CMake version until scikit-build-core becomes the backend. And we can't move from...
This produces: ``` Could NOT find NumPy (missing: NumPy_CONV_TEMPLATE_EXECUTABLE NumPy_FROM_TEMPLATE_EXECUTABLE) ``` IMO NumPy changes should be broken out.
@LecrisUT: Failure during Ansible playbook execution showing up for two fedora tests.
This actually isn't quite this easy, since this value was broken before 3.8.7. So this is necessary: https://github.com/scikit-build/scikit-build-core/blob/565bd6b67f730acc30f982059b507c04e98fa40f/src/scikit_build_core/builder/sysconfig.py#L153-L159
Ahh, missed you already had a version-based if there, only saw the bottom part.
If we just hard switch, this will break all downstream packages that use the variables set by FindPythonLibs/FindPythonInterp. It will also require a really new CMake version (scikit-build-core backports FindPython...