Commit 9328532
committed
fix(coordinode): move package into coordinode/ subdirectory for correct wheel build
hatchling's packages = ["coordinode"] requires a coordinode/ subdirectory.
Previously __init__.py and other modules were co-located with pyproject.toml,
making the project root the package root — unsupported by hatchling.
Move __init__.py, client.py, _types.py → coordinode/coordinode/
Update pyproject.toml: version-file path, revert sources → packages
Update Makefile: PROTO_OUT points to coordinode/coordinode/_proto/
Update .gitignore: adjusted paths for generated files
The resulting wheel now correctly contains coordinode/__init__.py
and all submodules, making the package importable after pip install.1 parent 1e613ab commit 9328532
6 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments