[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, 24 Nov 2024 20:54:16 +0000 (21:54 +0100)
commit9d055063655cfb397510f5d7ae2bfef0482869f4
tree411d8a5efa7cec5a58e7da06c6fcfe5621d39f10
parent27531fe62ec06bed0d06e9d61888146a98d337ee
[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