We do not want the amalgamate.py script to run *ever* if you do not have at least Python 3. (#1290)

This commit is contained in:
Daniel Lemire
2020-11-04 13:52:52 -05:00
committed by GitHub
parent a56149e79a
commit a06e0958ca
+4
View File
@@ -10,6 +10,10 @@ import os
import re
import shutil
if sys.version_info < (3, 0):
sys.stdout.write("Sorry, requires Python 3.x or better\n")
sys.exit(1)
SCRIPTPATH = os.path.dirname(os.path.abspath(sys.argv[0]))
PROJECTPATH = os.path.dirname(SCRIPTPATH)