-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathhatch.toml
More file actions
39 lines (31 loc) · 978 Bytes
/
hatch.toml
File metadata and controls
39 lines (31 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[build.hooks.vcs]
dependencies = ["hatch-vcs>=0.4.0"]
version-file = "src/codegen/_version.py"
[metadata]
allow-direct-references = true
[envs.hatch-build]
installer = "uv"
[[envs.hatch-build.matrix]]
tool = ["uv", "pip"]
[envs.hatch-build.overrides]
matrix.tool.installer = { value = "{matrix:tool}" }
matrix.tool.scripts = [
{ key = "pip", value = "{env:HATCH_UV} pip {args}", if = [
"uv",
] },
]
[version]
source = "vcs"
[build]
packages = ["src/codegen"]
[metadata.hooks.vcs.urls]
Homepage = "https://www.codegen.com/"
Repository = "https://github.com/codegen-sh/codegen-sdk"
Download = "https://github.com/codegen-sh/codegen-sdk/archive/{commit_hash}.zip"
Changelog = "https://docs.codegen.com/changelog/changelog"
Releasenotes = "https://github.com/codegen-sh/codegen-sdk/releases"
Issues = "https://github.com/codegen-sh/codegen-sdk/issues"
Documentation = "https://docs.codegen.com"
Playground = "https://www.codegen.sh/"
[envs.default]
installer = "uv"