Skip to content

Providing default executables

Default executables are now provided in config.py. Executables can either be full paths (as done previously) or just the base name. Internally config.py replaces base names with full paths using shutil.which (the Python equivalent of the which *NIX command), followed by os.path.abspath to be safe in the event of a relative path.

All executables default to their RapidPE versions, except for exe_generate_initial_grid which actually has no default, as it is sometimes desired to be omitted. We may in the future have RIFT ILE as a default, but for now I'm avoiding that as it lacks the rift_ prefix and will break at some point when that is added.

Merge request reports

Loading