-
Notifications
You must be signed in to change notification settings - Fork 13
BLD: providing binary wheels on PyPI #41
Description
Since pykokkos-base is not actually needed to build pykokkos (distinction of genuine build time vs. runtime dependencies), and because PEP518-based pip installs will build pykokkos on its own in an isolated env before installing it to a local user env, regardless of how we install pykokkos with pip, it will still be up to the user to provide a suitable version of pykokkos-base in their environment (the same would apply for providing a suitable version of NumPy when working with SciPy for example).
So, in the pip/PyPI ecosystem, I suspect the only way for us to reduce build/install friction is to:
- make it easier install
pykokkos-basefrom source (but building from source is never really "easy" for end users) - providing binary wheels on PyPI using i.e., https://cibuildwheel.readthedocs.io/en/stable/
The latter would likely be a substantial lift, and I'm not sure how we'd handle OMP, CUDA backend library shipping, though some libs like pytorch or tensorflow could likely be used as inspiration for that.