From: Pieter Lenaerts <plenae@disroot.org>
Date: Wed, 10 Jun 2026 22:14:06 +0200
Subject: Add PEP 517 build-system to pyproject.toml

Add setuptools build backend configuration, enabling PEP 517 compliant builds.
This allows pybuild to build the package for Debian, and improves upstream
packaging by enabling isolated build environments via pip.
Forwarded: https://github.com/uebelack/python-maxcube-api/pull/49
---
 pyproject.toml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index 88b249d..827f572 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,7 @@
+[build-system]
+requires = ["setuptools"]
+build-backend = "setuptools.build_meta"
+
 [tool.black]
 target-version = ["py38"]
 
