Skip to content

An example combining scikit-build and pybind11

License

Notifications You must be signed in to change notification settings

jangmys/scikit_build_example

 
 

Repository files navigation

scikit_build_example

Gitter

CI status
conda.recipe Conda Actions Status
pip builds Pip Actions Status

An example project built with pybind11 and scikit-build.

Installation

On Unix (Linux, macOS)

  • clone this repository
  • pip install ./scikit_build_example

On Windows

  • For Python 3.5+:
    • clone this repository
    • pip install ./scikit_build_example
  • For Python 2.7:
    • Pybind11 + Scikit-Build does not support Python 2.7 on Windows.

CI Examples

There are examples for CI in .github/workflows. A simple way to produces binary "wheels" for all platforms is illustrated in the "wheels.yml" file, using cibuildwheel.

License

pybind11 is provided under a BSD-style license that can be found in the LICENSE file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

Test call

import scikit_build_example
scikit_build_example.add(1, 2)

About

An example combining scikit-build and pybind11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.6%
  • C++ 28.2%
  • CMake 24.2%