Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ source_archive = "https://github.com/codegen-sh/codegen-sdk/archive/{commit_hash

[build.targets.wheel.hooks.custom]
enable-by-default = false
path = "src/graph_sitter_build/build.py"
path = "src/codegen/gsbuild/build.py"
require-runtime-dependencies = true
[envs.default]
installer = "uv"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


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

Expand All @@ -16,7 +16,7 @@ def update_init_file(file: Path) -> None:


class SpecialBuildHook(BuildHookInterface):
PLUGIN_NAME = "graph_sitter_build"
PLUGIN_NAME = "codegen_build"

def initialize(self, version: str, build_data: dict[str, Any]) -> None:
file = Path(self.root) / "src" / "codegen" / "sdk" / "__init__.py"
Expand Down
Loading