criu/crit
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
..
.gitignore crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
crit-python2 crit: enable python2 or python3 based crit 2018-07-09 18:25:16 +03:00
crit-python3 crit: enable python2 or python3 based crit 2018-07-09 18:25:16 +03:00
Makefile crit: enable python2 or python3 based crit 2018-07-09 18:25:16 +03:00
pycriu crit: Add symbolic link for pycriu module 2016-03-01 12:50:47 +03:00
pyproject.toml crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
setup.py crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00