summaryrefslogtreecommitdiffstats
path: root/py/pyproject.toml
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2023-07-31 12:40:24 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-08-03 09:47:49 +0200
commit8e603e0f7eec7c0000344a004228a30fbf0ece5c (patch)
tree5172993c748fafc4220b2f25ade0bb4170ce4e53 /py/pyproject.toml
parent8ae4dc1f40aa04e499d941faca45fe7e914f0b4d (diff)
py: add pyproject.toml to support PEP-517-compatible build-systems
This makes it possible to build and install the module without directly invoking setup.py which has been deprecated. Retain the setup.py script for backwards-compatibility. Update INSTALL to mention the new config-file. Link: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'py/pyproject.toml')
-rw-r--r--py/pyproject.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/pyproject.toml b/py/pyproject.toml
new file mode 100644
index 00000000..fed528d4
--- /dev/null
+++ b/py/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"