summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-05-21 21:44:51 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-05-21 21:44:51 +0200
commitcf9a72045965f1a0ccc00f78d881c0c7cbf04171 (patch)
tree3694407af79628bbdc536db2d9098cb5c628cd20
parent30a111639ce6a7ad54f77a091451bd5354afaae9 (diff)
downloadpython-linuxnamespaces-cf9a72045965f1a0ccc00f78d881c0c7cbf04171.tar.gz
choose flit as build backend
It's a pure Python module and flit seems to just work for those.
-rw-r--r--pyproject.toml10
1 files changed, 10 insertions, 0 deletions
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