mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Allow for scons to run on Python 3
This commit is contained in:
parent
80f6d665d9
commit
f2b083f4de
@ -1,9 +1,10 @@
|
||||
import glob
|
||||
import sys
|
||||
|
||||
# establish UTF-8 encoding
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf-8')
|
||||
# establish UTF-8 encoding for Python 2
|
||||
if sys.version_info < (3, 0):
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf-8')
|
||||
|
||||
# create build environment
|
||||
env = Environment()
|
||||
|
Loading…
x
Reference in New Issue
Block a user