diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-05-21 21:44:51 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-05-21 21:44:51 +0200 |
commit | cf9a72045965f1a0ccc00f78d881c0c7cbf04171 (patch) | |
tree | 3694407af79628bbdc536db2d9098cb5c628cd20 /pyproject.toml | |
parent | 30a111639ce6a7ad54f77a091451bd5354afaae9 (diff) | |
download | python-linuxnamespaces-cf9a72045965f1a0ccc00f78d881c0c7cbf04171.tar.gz |
choose flit as build backend
It's a pure Python module and flit seems to just work for those.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 10 |
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 |