# to run in venv ve with "fil-profile run script.py" import os import subprocess def main(): os.environ["SWH_CONFIG_FILENAME"] = "/etc/softwareheritage/loader_git.yml" cmd = "swh loader run git https://github.com/hylang/hy" # <--- change origin here subprocess.run(cmd.split()) main()