[PATCH] python: Fix distutils DeprecationWarning
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 21 Mar 2022 17:24:25 +0000 (11:24 -0600)
committerFelix Geyer <fgeyer@debian.org>
Thu, 4 Jan 2024 17:29:54 +0000 (18:29 +0100)
commit34d81462ce6cadd2b0a8bcc4e88d1fe3eaca331c
tree023f60bfd070f2818767a31541f6d708b8e2a394
parent93a55cc52403d3658e20a8682d57af36911455c2
[PATCH] python: Fix distutils DeprecationWarning

The python distutils package is deprecated.  Utilize
setuptools and cythonize instead.

./setup.py:26: DeprecationWarning: The distutils
package is deprecated and slated for removal in
Python 3.12. Use setuptools or check PEP 632 [1] for
potential alternatives

[1] https://peps.python.org/pep-0632/

Fixes: https://github.com/seccomp/libseccomp/issues/372
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Gbp-Pq: Name python_Fix_distutils_DeprecationWarning.patch
src/python/setup.py