criu/scripts
Radostin Stoyanov 7f0f07599a crit: fix compatibility with Python 3.12
Python 3.12 includes a few breaking changes, such as the removal of the
distutils module [1] and the deprecation of `setup.py install` in
favour of pip install [2]. This patch updates the installation script
for crit to reflect these changes by replacing the use of
`setup.py install` with `pip install` and `distutils` with
`setuptools`. In addition, a minimal pyproject.toml file has
been added as it is required by the new version of pip [3].

It is worth noting that with this change we are switching from the egg
packaging format to wheel [4] and add pip as a build dependency.

[1] https://www.python.org/downloads/release/python-3120a2/
[2] https://github.com/pypa/setuptools/pull/2824
[3] https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
[4] https://packaging.python.org/en/latest/discussions/wheel-vs-egg/

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2023-04-15 21:17:21 -07:00
..
build crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
ci crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
nmk Fix some codespell warnings 2022-04-28 17:53:52 -07:00
criu-ns criu-ns: capture controlling tty 2023-04-15 21:17:21 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak criu: fix conflicting headers 2023-04-15 21:17:21 -07:00
fetch-clang-format.sh clang-format: use IndentGotoLabels to get rid of goto label indentation 2023-04-15 21:17:21 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
install-debian-pkgs.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
protobuf-gen.sh scripts/protobuf-gen.sh: fix (not ignore) shellcheck warnings 2023-04-15 21:17:21 -07:00
systemd-autofs-restart.sh Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00
uninstall_module.py crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00