summaryrefslogtreecommitdiff
path: root/pyvercheck.py
diff options
context:
space:
mode:
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)