crit: enable python2 or python3 based crit

With this last commit of the crit with python3 series it is possible to
either use python2 or python3 with CRIU.

Now the basic build system functionality (make and make install) are
python2/python3 aware. zdtm.py and criu-coredump are still python2, but
as they are not part of 'make install' those parts have not yet been
ported from python2 to python3.

Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Adrian Reber 2018-05-16 06:20:24 +00:00 committed by Pavel Emelyanov
parent 1a0ad1ae87
commit 4feb07020d
6 changed files with 39 additions and 5 deletions

6
crit/crit-python2 Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python2
from pycriu import cli
if __name__ == '__main__':
cli.main()