mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
44 lines
651 B
Text
44 lines
651 B
Text
.config
|
|
*.o
|
|
*.d
|
|
*.a
|
|
*.img
|
|
*.bin
|
|
*.elf
|
|
*.out
|
|
*.swp
|
|
*.swo
|
|
*.so
|
|
.git-ignore
|
|
*.patch
|
|
*.pyc
|
|
cscope*
|
|
tags
|
|
TAGS
|
|
Makefile.local
|
|
compel/compel
|
|
compel/compel-host-bin
|
|
images/*.c
|
|
images/*.h
|
|
images/google/protobuf/*.c
|
|
images/google/protobuf/*.h
|
|
.gitid
|
|
criu/criu
|
|
criu/unittest/unittest
|
|
crit/crit
|
|
criu/arch/*/sys-exec-tbl*.c
|
|
# x86 syscalls-table is not generated
|
|
!criu/arch/x86/sys-exec-tbl.c
|
|
criu/arch/*/syscalls*.S
|
|
criu/include/syscall-codes*.h
|
|
criu/include/syscall*.h
|
|
criu/include/version.h
|
|
criu/pie/restorer-blob.h
|
|
criu/pie/parasite-blob.h
|
|
criu/protobuf-desc-gen.h
|
|
lib/build/
|
|
lib/c/criu.pc
|
|
compel/include/asm
|
|
include/common/asm
|
|
include/common/config.h
|
|
build/**
|