binder
binder copied to clipboard
Setup binder as a Python package and publish pre-built wheels to PyPI
Description of the implementation
- The python package is placed in the
python
directory to avoid conflicts. - The
llvm-project
branchv6.x
is submoduled inpython/llvm-project
and is included inpython/CMakeLists.txt
withadd_subdirectory
. - The
source
directory is symbolically linked topython/llvm-project/clang-tools-extra/binder
in the llvm-project submodule. - The version of the python package is automatically inferred from the git tag using
setuptools-scm
. -
scikit-build-core
is used to build the Python package with cmake. -
cibuildwheel
is used to build wheels on different platforms, and archs using GitHub actions, and they will be published to PyPI when a release is published.