From cf9a72045965f1a0ccc00f78d881c0c7cbf04171 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 21 May 2025 21:44:51 +0200 Subject: choose flit as build backend It's a pure Python module and flit seems to just work for those. --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9855e72..ff728ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,9 +19,19 @@ dbussy = ["dbussy"] zstandard = ["zstandard"] test = ["pytest", "pytest-forked", "pytest-subtests"] +[build-system] +requires = ["flit_core >=3.8"] +build-backend = "flit_core.buildapi" + [tool.black] line-length = 79 +[tool.flit.module] +name = "linuxnamespaces" + +[tool.flit.sdist] +include = ["conftest.py", "examples/", "README.md", "tests/"] + [tool.mypy] strict = true -- cgit v1.2.3