fix: python: monkey patch the proper sysconfig implementation
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 8 Mar 2023 16:06:37 +0000 (11:06 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 10 Mar 2023 16:40:14 +0000 (11:40 -0500)
commit927263e4ea62877af7240cfdb1514ae949dbfc2e
treee9b1e2873ce9e18436a3ed5be98589ae2969f72e
parent44b263a86c5d6ead7e68191c330ee835bd19ea7d
fix: python: monkey patch the proper sysconfig implementation

Since we monkey patch sysconfig, use the distutils implementation when
building with distutils and the upstream one when building with
setuptools.

This ensures the properly patched version is used to build the
extension.

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