tools: Don't use distutils in configure or Makefile

Python distutils is deprecated and is going to be removed in Python
3.12.  distutils.sysconfig is available as the sysconfig module in
stdlib since Python 2.7 and Python 3.2, so use that directly.

Update the README to reflect that we now depend on Python 2.7.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Signed-off-by: Javi Merino <javi.merino@cloud.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
[Regen ./configure]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Marek Marczykowski-Górecki authored and Andrew Cooper committed 2023-09-20 20:53:58 +01:00
1 parent 9314a61936
commit 2a353c048c
6 files changed
+43 -38

No files matched your search

+5
View File
@@ -1986,6 +1986,11 @@ _ACEOF
XEN_RUN_STORED=$rundir_path/xenstored
cat >>confdefs.h <<_ACEOF
#define XEN_RUN_STORED "$XEN_RUN_STORED"
_ACEOF
XEN_LIB_DIR=$localstatedir/lib/xen
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.