[PATCH v2 1/2] libselinux: add pyproject.toml file
Stephen Smalley <[email protected]> Fri, 24 Jul 2026 13:50:59 -0400
| Newsgroups | org.kernel.vger.selinux |
|---|---|
| Message-ID | <[email protected]> |
Add a pyproject.toml file for the libselinux python bindings. Fixes: https://github.com/SELinuxProject/selinux/issues/505 Signed-off-by: Stephen Smalley <[email protected]> --- v2 of this commit is unchanged, only the second patch changed. libselinux/src/pyproject.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libselinux/src/pyproject.toml diff --git a/libselinux/src/pyproject.toml b/libselinux/src/pyproject.toml new file mode 100644 index 00000000..dfc44e81 --- /dev/null +++ b/libselinux/src/pyproject.toml @@ -0,0 +1,24 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "selinux" +version = "3.11" +description = "Python bindings for libselinux (SELinux userspace library)" +readme = "../README.md" +license = "libselinux-1.0" +authors = [ + { name = "SELinux Project", email = "[email protected]" } +] +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: POSIX :: Linux", + "Topic :: Security", +] + +[project.urls] +Homepage = "https://github.com/SELinuxProject/selinux" + +# The actual .so is produced by a custom build_ext (SWIG + libselinux.so), +# driven from setup.py. -- 2.55.0