from os import path from shutil import copytree # add repository root path root_path = path.abspath(path.dirname(__file__)) copytree( path.join(root_path, 'modules', 'godot-xr-tools', 'addons'), path.join(root_path, 'project', 'addons'), dirs_exist_ok=True, )