we require python 3.5 or later

This commit is contained in:
Axel Kohlmeyer
2021-08-23 21:43:06 -04:00
parent 1ee1471b56
commit d72d8fa938
3 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,10 @@ from __future__ import print_function
import sys
if sys.version_info.major < 3:
sys.exit('This script must be run with Python 3.x')
sys.exit('This script must be run with Python 3.5 or later')
if sys.version_info.minor < 5:
sys.exit('This script must be run with Python 3.5 or later')
import os
import glob

View File

@ -6,7 +6,10 @@ from __future__ import print_function
import sys
if sys.version_info.major < 3:
sys.exit('This script must be run with Python 3.x')
sys.exit('This script must be run with Python 3.5 or later')
if sys.version_info.minor < 5:
sys.exit('This script must be run with Python 3.5 or later')
import os
import glob

View File

@ -6,7 +6,10 @@ from __future__ import print_function
import sys
if sys.version_info.major < 3:
sys.exit('This script must be run with Python 3.x')
sys.exit('This script must be run with Python 3.5 or later')
if sys.version_info.minor < 5:
sys.exit('This script must be run with Python 3.5 or later')
import os
import glob