Skip to content

Commit 25c8e37

Browse files
committed
Attempt 2
1 parent 4e81368 commit 25c8e37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegen/gsbuild/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def update_init_file(file: Path) -> None:
9-
path = Path(__file__).parent.parent
9+
path = Path(__file__).parent.parent.parent
1010
sys.path.append(str(path))
1111
from codegen.gscli.generate.runner_imports import generate_exported_modules, get_runner_imports
1212

@@ -19,7 +19,7 @@ class SpecialBuildHook(BuildHookInterface):
1919
PLUGIN_NAME = "codegen_build"
2020

2121
def initialize(self, version: str, build_data: dict[str, Any]) -> None:
22-
file = Path(self.root).parent / "src" / "codegen" / "sdk" / "__init__.py"
22+
file = Path(self.root) / "src" / "codegen" / "sdk" / "__init__.py"
2323
update_init_file(file)
2424

2525
build_data["artifacts"].append(f"/{file}")

0 commit comments

Comments
 (0)