mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
Newer versions of pip use an isolated virtual environment when building Python projects. However, when the source code of CRIT is copied into the isolated environment, the symlink for `../lib/py` (pycriu) becomes invalid. As a workaround, we used the `--no-build-isolation` option for `pip install`. However, this functionality has issues in some versions of PIP [1, 2]. To fix this problem, this patch adds separate packages for pycriu and crit, and each package is installed independently. [1] https://github.com/pypa/pip/pull/8221 [2] https://github.com/pypa/pip/issues/8165#issuecomment-625401463 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
17 lines
528 B
INI
17 lines
528 B
INI
# Configuring setuptools using pyproject.toml files was introduced in setuptools 61.0.0
|
|
# https://setuptools.pypa.io/en/latest/history.html#v61-0-0
|
|
# For older versions of setuptools, we need to use the setup.cfg file
|
|
# https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#declarative-config
|
|
|
|
[metadata]
|
|
name = pycriu
|
|
description = Python bindings for CRIU
|
|
author = CRIU team
|
|
author_email = criu@openvz.org
|
|
license = GPLv2
|
|
version = attr: pycriu.__version__
|
|
|
|
[options]
|
|
packages = find:
|
|
python_requires = >=3.6
|