diff --git a/hatch.toml b/hatch.toml index 33fa2eb1f..9a552c9ea 100644 --- a/hatch.toml +++ b/hatch.toml @@ -81,7 +81,7 @@ source_archive = "https://github.com/codegen-sh/codegen-sdk/archive/{commit_hash [build.targets.wheel.hooks.custom] enable-by-default = false -path = "src/codegen/gsbuild/build.py" +path = "scripts/build.py" require-runtime-dependencies = true [envs.default] installer = "uv" diff --git a/pyproject.toml b/pyproject.toml index 70b7d20f1..20a46fbcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,6 @@ dependencies = [ "lazy-object-proxy>=0.0.0", "pydantic-core>=2.23.4", "hatch-vcs>=0.4.0", - "hatchling>=1.25.0", "pyinstrument>=5.0.0", "pip>=24.3.1", # This is needed for some NPM/YARN/PNPM post-install scripts to work! "emoji>=2.14.0", @@ -110,6 +109,7 @@ dev-dependencies = [ "deptry>=0.22.0", "cibuildwheel[uv]>=2.22.0", "sybil[pytest]>=9.0.0", + "hatchling>=1.25.0", ] keyring-provider = "subprocess" #extra-index-url = ["https://aws@codegen-922078275900.d.codeartifact.us-east-1.amazonaws.com/pypi/codegen/simple/"] diff --git a/src/codegen/gsbuild/build.py b/scripts/build.py similarity index 100% rename from src/codegen/gsbuild/build.py rename to scripts/build.py