[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>
Sun, 29 Oct 2023 14:13:08 +0000 (15:13 +0100)
commit9d8fc06c92c6ca58cd8091f5e7a0def4d6b8cae8
tree18bef182fb338751f22031b4f81edce6c8507a29
parent3df9ce529f85868d48c4a9e365ed57b749c535ba
[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