We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e81368 commit 25c8e37Copy full SHA for 25c8e37
src/codegen/gsbuild/build.py
@@ -6,7 +6,7 @@
6
7
8
def update_init_file(file: Path) -> None:
9
- path = Path(__file__).parent.parent
+ path = Path(__file__).parent.parent.parent
10
sys.path.append(str(path))
11
from codegen.gscli.generate.runner_imports import generate_exported_modules, get_runner_imports
12
@@ -19,7 +19,7 @@ class SpecialBuildHook(BuildHookInterface):
19
PLUGIN_NAME = "codegen_build"
20
21
def initialize(self, version: str, build_data: dict[str, Any]) -> None:
22
- file = Path(self.root).parent / "src" / "codegen" / "sdk" / "__init__.py"
+ file = Path(self.root) / "src" / "codegen" / "sdk" / "__init__.py"
23
update_init_file(file)
24
25
build_data["artifacts"].append(f"/{file}")
0 commit comments