Henry Schreiner

Results 2513 comments of Henry Schreiner

Feel free to check on https://github.com/scikit-build/cython-cmake/pull/19 and see if that would work.

`liba` needs `PYBIND11_MODULE(liba, m)`, and `libb` needs `PYBIND11_MODULE(libb, m)`, not sure where `librisk` comes in. Do you have a source link?

Is there an issue finding Python? If it finds Python 2, for example, the above would happen. Ahh, one big change - you are manually calling FindPython, so pybind11 will...

I strongly recommend rebasing to keep following master, and never, ever create a merge commit. There's an even an automated rebase button in the dropdown below. If you create merge...

I've got a workaround that works (only on Unix, though!): ```python #!python import os import sys import sysconfig # Scripts can be broken by pip's build isolation hacks # See:...

Is this fixed with 0.18.1?

Try `pip install pybind11[global]`, or use `pybind11-config --cmakedir`.

The `pybind11[global]` option does exactly that. ~~Instead of~~ In addition to going into `$VIRTUAL_ENV/lib/python3.9/site-packages/pybind11/share/cmake`, it goes into `$VIRTUAL_ENV/share/cmake`.

I'm also planning to work on discovery in the context of Scikit-build, see https://iscinumpy.gitlab.io/post/scikit-build-proposal/ and https://github.com/scikit-build/scikit-build/wiki#possible-roadmap

FWIW, the mirrors suggested in the issue work fine, I've been using https://github.com/rbubley/mirrors-prettier and it's been fine.