summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-25 14:36:03 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-03-25 15:25:37 +0100
commit3d2dd79ecd2c8456ba9401f6b12333d01f61e13e (patch)
tree945849b824e902a49bb3d7acb4bf13f76a1850f8 /SConstruct
parent35e700e931f565aa37040055126fa61f02424ae0 (diff)
SCons: Drop support for Python 2
We now require SCons 3.0+ (first version with Python 3 support), and we set min required Python 3 version to 3.5 (3.4 and earlier are EOL).
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 4ebc33f593..84400e800d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,6 +1,7 @@
#!/usr/bin/env python
-EnsureSConsVersion(0, 98, 1)
+EnsureSConsVersion(3, 0, 0)
+EnsurePythonVersion(3, 5)
# System
import glob
@@ -13,7 +14,7 @@ import methods
import gles_builders
from platform_methods import run_in_subprocess
-# scan possible build platforms
+# Scan possible build platforms
platform_list = [] # list of platforms
platform_opts = {} # options for each platform