You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
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).
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
|
||||
def generate_compressed_config(config_src, output_dir):
|
||||
import os.path
|
||||
from compat import byte_to_str
|
||||
|
||||
# Source file
|
||||
with open(os.path.join(output_dir, 'android_mono_config.gen.cpp'), 'w') as cpp:
|
||||
@@ -16,7 +15,7 @@ def generate_compressed_config(config_src, output_dir):
|
||||
for i, buf_idx in enumerate(range(compr_size)):
|
||||
if i > 0:
|
||||
bytes_seq_str += ', '
|
||||
bytes_seq_str += byte_to_str(buf[buf_idx])
|
||||
bytes_seq_str += str(buf[buf_idx])
|
||||
|
||||
cpp.write('''/* THIS FILE IS GENERATED DO NOT EDIT */
|
||||
#include "android_mono_config.h"
|
||||
|
||||
Reference in New Issue
Block a user