Files
Aurora.3/tools/python_version_check.py
2020-06-26 11:49:34 +02:00

8 lines
237 B
Python

import sys
version = (3, 4) # Check if python version is greater that this.
if sys.version_info < version:
print("Sorry, this requires python >= {}. Your version is {}!".format(version, tuple(sys.version_info)))
exit(1)
exit(0)