ac83e934a1
Running all the cython tasks in parallel at once is a bit violent. On my Docker container for instance, it makes some processes be killed before they complete because of resources exhaustion. Using a ThreadPoolExecutor instance to limit the number of parallel tasks guarantees there will be at least as much processes at the number of CPU plus 4 (up to 32) so that should be as fast as before without risking to reach the host resources limit.
Scripts ======= alter_translations.py --------------------- This can be used to replace one string translation with another. It's used when the string changes from `old` to `new`, but the translatoons are expected to be correct. autobuild.sh ------------ This is called from distribute.py, to build Ren'Py before distribution happens. check_copyright.py ------------------ Checks the copyright notice is present. checksums.py ------------ Used by add.py. This computes the checksums of a released Ren'Py, and signs them using GPG. fix_translations.py ------------------- Removes BOMs and TODO comments from translations. generate_pyi.py --------------- This must be run using a Python with the Ren'Py and pygame_sdl2 modules built for it. This generates .pyi files in typings/ and renpy, allowing tools to analyze Ren'Py. generate_update_keys.py ----------------------- Generate update keys that can be used by the Ren'Py updater. mac/ ---- Scripts used to sign mac apps. pyi/ ---- Pyi files used by generate_pyi.py. relative_imports.py -------------------- This generates the relative import sections of __init__.py files. These fake the imports, allowing typing tools to find all of Ren'Py. release_changes.py ------------------ Shows how files have changed in size between releases. rt/ --- Contains a template game for testing. rt.py ----- A tool that helps with creating and running test games. sign_update.py --------------- This signs updates used by the Ren'Py updater. update_compat_import.py ----------------------- Updates the ``from renpy.compat import`` line at the start of files that have one. update_copyright.py ------------------- Updates the copyright line when the year changes. update_piglatin.sh ------------------ Updates the piglatin translation. utflf.py -------- Fixes line endings and adds UTF-8 BOM to all rpy files in a directory.