build-common

Shared build system code (usually as a git submodule)
Log | Files | Refs | README | LICENSE

commit 47f14fcf1d03d9dad1bae59987488ea05ecd307b
parent 31081f44232d0233629ad3a4d398322da9958ed4
Author: Florian Dold <florian@dold.me>
Date:   Wed, 25 Nov 2020 14:34:09 +0100

be more verbose

Diffstat:
Mpyvercheck.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/pyvercheck.py b/pyvercheck.py @@ -1,7 +1,12 @@ # This file is placed in the public domain. +# Detect the Python version in a portable way. +# + import sys +sys.stderr.write("info: running with python " + str(sys.version_info) + "\n") + if sys.version_info.major < 3 or sys.version_info.minor < 7: sys.stderr.write("error: python>=3.7 must be available as the python3 executable\n") sys.exit(1)