File: README.md

package info (click to toggle)
scikit-build-core 0.11.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,588 kB
  • sloc: python: 14,643; ansic: 254; cpp: 134; sh: 27; fortran: 18; makefile: 7
file content (55 lines) | stat: -rw-r--r-- 1,986 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# scikit_build_example

[![Gitter][gitter-badge]][gitter-link]

| CI           | status                                                             |
| ------------ | ------------------------------------------------------------------ |
| conda.recipe | [![Conda Actions Status][actions-conda-badge]][actions-conda-link] |
| pip builds   | [![Pip Actions Status][actions-pip-badge]][actions-pip-link]       |

An example project built with [pybind11](https://github.com/pybind/pybind11) and
scikit-build-core. Python 3.8+ (see older commits for older versions of Python).

[gitter-badge]: https://badges.gitter.im/pybind/Lobby.svg
[gitter-link]: https://gitter.im/pybind/Lobby
[actions-badge]:
  https://github.com/pybind/scikit_build_example/workflows/Tests/badge.svg
[actions-conda-link]:
  https://github.com/pybind/scikit_build_example/actions?query=workflow%3AConda
[actions-conda-badge]:
  https://github.com/pybind/scikit_build_example/workflows/Conda/badge.svg
[actions-pip-link]:
  https://github.com/pybind/scikit_build_example/actions?query=workflow%3APip
[actions-pip-badge]:
  https://github.com/pybind/scikit_build_example/workflows/Pip/badge.svg
[actions-wheels-link]:
  https://github.com/pybind/scikit_build_example/actions?query=workflow%3AWheels
[actions-wheels-badge]:
  https://github.com/pybind/scikit_build_example/workflows/Wheels/badge.svg

## Installation

- clone this repository
- `pip install ./scikit_build_example`

## 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

```python
import scikit_build_example

scikit_build_example.add(1, 2)
```

[`cibuildwheel`]: https://cibuildwheel.pypa.io