python: replace distutils with setuptools
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 27 Feb 2023 18:40:08 +0000 (13:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Mar 2023 21:58:51 +0000 (16:58 -0500)
commit6ec97181a525a3cd64cedbcd0df905ed9e84ba03
tree7ee87814a423ea599fb6dc192a9ca3d3f6559c61
parent452480eb6820df9973d50431a479ca547815ae08
python: replace distutils with setuptools

Since 'distutils' will be removed in Python 3.12, use setuptools instead
to build the bindings. Thanks to the python devs that removed the only
facility to build native extensions from the core distribution.

See https://peps.python.org/pep-0632/

Change-Id: Ib515931d2352416bcc92e18be6b5a3981fb3f067
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8846
Reviewed-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
configure.ac
src/bindings/python/bt2/setup.py.in
This page took 0.024111 seconds and 4 git commands to generate.