Files
Kassy ac83e934a1 Limit the number of cython processes ran in parallel
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.
2025-01-23 21:01:32 +01:00
..
2022-11-01 20:02:53 -04:00
2023-02-19 15:15:48 +01:00
2024-08-23 00:56:10 -04:00
2025-01-02 18:57:41 -05:00
2022-06-27 01:46:49 -04:00
2025-01-02 19:01:36 -05:00
2023-02-13 23:50:51 -05:00

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.