# Make a local copy of the substitutions. | |
config.substitutions = list(config.substitutions) | |
config.substitutions.insert(0, ('%debug-remote-run', | |
r'%r %%utils/remote-run --debug-as-local %%sftp-server --remote-dir %%t-REMOTE' % (sys.executable,))) | |
config.substitutions.insert(0, ('%remote-run', | |
r'%r %%utils/remote-run' % (sys.executable,))) |