scikit-build/scikit-build-core

Help migrating to scikit-build-core: `No "FindCython.cmake" found in CMAKE_MODULE_PATH`

Opened this issue · 4 comments

Hi folks, I'm trying to migrate h3-py from scikit-build to scikit-build-core: uber/h3-py#378

I'm currently running into an issue: No "FindCython.cmake" found in CMAKE_MODULE_PATH

I was wondering if anyone recognized what was going on, and could point me towards any ideas on how to resolve it.

Also, I've noticed in the docs things like "Scikit-build-core does not include helpers for F2Py or Cython like scikit-build classic yet. These will be carefully reimagined soon." Since our project uses Cython, does that mean we should avoid scikit-build-core for now because things just won't work, or does it mean that I'll just have to do a few things manually (and what would that look like)?

There are examples in the getting started page. What is lacking are helper functions that would automate those steps.

Work is at https://github.com/scikit-build/cython-cmake. Though you can just copy the old file in and use it, or do it manually (which isn't too hard, and works without scikit-build-core). Examples will help us shape the design of the new module, which we'd like to propose upstream once it's good enough.

Thanks! I think we've got things working here: uber/h3-py#378

We weren't able to get the old files working, so we ended up writing things by hand for now. Once the helpers are ready, I think we'd be happy to migrate.

Is there anything we can do to make this a more useful example use case for you? Also, if you have any general suggestions on better ways to use the tool or organize our current build, we'd be more than happy to hear!

Feel free to check on scikit-build/cython-cmake#19 and see if that would work.