summaryrefslogtreecommitdiff
path: root/pyvercheck.py
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-21 16:13:03 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-21 16:13:03 +0530
commiteaebfbb4887d9410bc89e75bd142d5213f44296b (patch)
tree36c305e542712c86908d9d6d1f7719742df2ba15 /pyvercheck.py
parent79765062de9bd4cff009a51f4cbfebf1dc8ecd56 (diff)
downloadbuild-common-eaebfbb4887d9410bc89e75bd142d5213f44296b.tar.gz
build-common-eaebfbb4887d9410bc89e75bd142d5213f44296b.tar.bz2
build-common-eaebfbb4887d9410bc89e75bd142d5213f44296b.zip
remove bloat
Diffstat (limited to 'pyvercheck.py')
-rw-r--r--pyvercheck.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pyvercheck.py b/pyvercheck.py
new file mode 100644
index 0000000..98e620b
--- /dev/null
+++ b/pyvercheck.py
@@ -0,0 +1,7 @@
+# This file is placed in the public domain.
+
+import sys
+
+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)