mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 11:51:00 +00:00
Deprecate Python 2 support
Python 2 will reach end of life in January 1 2020. Declare it as deprecated. Backports commit e5abf59eae5990296c243202f95f801495c52e76 from qemu
This commit is contained in:
parent
14c6ed2cca
commit
0bf3c3755a
8
qemu/configure
vendored
8
qemu/configure
vendored
|
@ -1472,6 +1472,14 @@ if test "$supported_os" = "no"; then
|
|||
echo "us upstream at qemu-devel@nongnu.org."
|
||||
fi
|
||||
|
||||
# Note that if the Python conditional here evaluates True we will exit
|
||||
# with status 1 which is a shell 'false' value.
|
||||
if ! $python -c 'import sys; sys.exit(sys.version_info < (3,0))'; then
|
||||
echo
|
||||
echo "warning: Python 2 support is deprecated" >&2
|
||||
echo "warning: Python 3 will be required for building future versions of QEMU" >&2
|
||||
fi
|
||||
|
||||
config_host_mak="config-host.mak"
|
||||
|
||||
echo "# Automatically generated by configure - do not modify" > $config_host_mak
|
||||
|
|
Loading…
Reference in a new issue