You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example [pybind11](https://github.com/pybind/pybind11) module built with a
4
-
CMake-based build system. This is useful for C++ codebases that have an
5
-
existing CMake project structure. This is being replaced by
6
-
[`scikit_build_example`](https://github.com/pybind/scikit_build_example), which uses
7
-
[scikit-build-core][], which is designed to allow Python
8
-
packages to be driven from CMake without depending on setuptools. The approach here has
9
-
some trade-offs not present in a pure setuptools build (see
10
-
[`python_example`](https://github.com/pybind/python_example)) or scikit-build-core. Python 3.7+ required;
11
-
see the commit history for older versions of Python.
12
-
13
-
Problems vs. scikit-build-core based example:
14
-
15
-
- You have to manually copy fixes/additions when they get added to this example (like when Apple Silicon support was added)
16
-
- Modern editable installs are not supported (scikit-build-core doesn't support them either yet, but probably will soon)
17
-
- You are depending on setuptools, which can and will change
18
-
- You are stuck with an all-or-nothing approach to adding cmake/ninja via wheels (scikit-build-core adds these only as needed, so it can be used on BSD, Cygwin, Pyodide, Android, etc)
19
-
- You are stuck with whatever CMake ships with (scikit-build-core backports FindPython for you)
1
+
# Py-libbpf
2
+
This library provides Python bindings for libbpf on Linux to make loading of eBPF object files easier. This is meant to
3
+
be used along with `pythonbpf`, the eBPF Python DSL compiler. This library makes it possible to attach these programs to
4
+
events in the kernel right from inside Python.
20
5
6
+
# Warning
7
+
IN DEVELOPMENT. DO NOT USE.
21
8
22
9
## Prerequisites
23
10
@@ -32,40 +19,12 @@ Just clone this repository and pip install. Note the `--recursive` option which
0 commit comments