mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user