Update build.py

This commit is contained in:
g1tman 2019-10-31 16:32:39 +05:30 committed by GitHub
parent fb806cfecd
commit 6a0878f9cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,8 +447,7 @@ main.py that loads it.''')
# Try to build with the newest available build tools # Try to build with the newest available build tools
ignored = {".DS_Store", ".ds_store"} ignored = {".DS_Store", ".ds_store"}
build_tools_versions = [x for x in listdir(join(sdk_dir, 'build-tools')) if x not in ignored] build_tools_versions = [x for x in listdir(join(sdk_dir, 'build-tools')) if x not in ignored]
build_tools_versions = sorted(build_tools_versions, build_tools_versions.sort(key=LooseVersion)
key=LooseVersion)
build_tools_version = build_tools_versions[-1] build_tools_version = build_tools_versions[-1]
# Folder name for launcher (used by SDL2 bootstrap) # Folder name for launcher (used by SDL2 bootstrap)