Skip to content

Commit 7fb482f

Browse files
author
codegen-bot
committed
setup src root
1 parent 63c903f commit 7fb482f

File tree

4 files changed

+63
-6
lines changed

4 files changed

+63
-6
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
15
[project]
26
name = "codegen-examples"
37
version = "0.0.0"
@@ -39,3 +43,6 @@ requirements = [
3943

4044
[tool.deptry]
4145
package_module_name_map.codegen = "codegen"
46+
47+
[tool.hatch.build.targets.wheel]
48+
packages = ["src"]

src/__init__.py

Whitespace-only changes.

src/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from pathlib import Path
2+
3+
ROOT_DIR = Path(__file__).parent.parent
4+
REPO_DIR = ROOT_DIR / "repositories"
5+
PYTHON_REPO_DIR = REPO_DIR / "python"
6+
TYPESCRIPT_REPO_DIR = REPO_DIR / "typescript"

uv.lock

Lines changed: 50 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)