From 8ae4dc1f40aa04e499d941faca45fe7e914f0b4d Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Mon, 31 Jul 2023 12:40:23 +0100 Subject: py: use setup.cfg to configure setuptools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setuptools has had support for declarative configuration for several years. To quote their documentation: Setuptools allows using configuration files (usually setup.cfg) to define a package’s metadata and other options that are normally supplied to the setup() function (declarative config). This approach not only allows automation scenarios but also reduces boilerplate code in some cases. Additionally, this allows us to introduce support for PEP-517-compatible build-systems. Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- py/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/Makefile.am') diff --git a/py/Makefile.am b/py/Makefile.am index 4056aa61..974539fd 100644 --- a/py/Makefile.am +++ b/py/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = setup.py src +EXTRA_DIST = setup.cfg setup.py src -- cgit v1.2.3