fix: python agent: install on Debian python >= 3.10
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 14 Jun 2023 19:58:32 +0000 (15:58 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 20 Jun 2023 17:49:28 +0000 (13:49 -0400)
commit02f8da13d233fe036df3f5b84e7371e1a2ac7afb
tree0d476a8f24b0c0f4ae4b50419675b00c95edb1c9
parent678c0c065aadcad7ca7176cb91039fa677b6ba68
fix: python agent: install on Debian python >= 3.10

Starting with Debian's Python 3.10, the default install scheme is
'posix_local' which is a Debian specific scheme based on 'posix_prefix'
but with an added 'local' prefix. This is the default so users doing
system wide manual installations of python modules end up in
'/usr/local'. This interferes with our autotools based install which
already defaults to '/usr/local' and expect a provided prefix to be used
verbatim.

Monkeypatch sysconfig to override this scheme and use 'posix_prefix' instead.

Change-Id: I08fe77b6c8807515765e3ad0344aa6849e573b90
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
python-lttngust/setup.py.in
This page took 0.029184 seconds and 4 git commands to generate.