Skip to content

Commit 2a63dd0

Browse files
authored
Merge pull request #10 from structured-world/fix/#9-coordinode-package-structure
fix(coordinode): move package into coordinode/ subdirectory for correct wheel build
2 parents 1e613ab + 9328532 commit 2a63dd0

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated proto stubs — run `make proto` to regenerate
2-
coordinode/_proto/
2+
coordinode/coordinode/_proto/
33

44
# Build artifacts
55
dist/
@@ -17,7 +17,7 @@ venv/
1717
env/
1818

1919
# Version files generated by hatch-vcs
20-
coordinode/_version.py
20+
coordinode/coordinode/_version.py
2121
langchain-coordinode/langchain_coordinode/_version.py
2222
llama-index-coordinode/llama_index/graph_stores/coordinode/_version.py
2323
GAPS.md

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: proto proto-check install install-pip test test-unit test-integration lint clean
22

33
PROTO_SRC := proto
4-
PROTO_OUT := coordinode/_proto
4+
PROTO_OUT := coordinode/coordinode/_proto
55
PYTHON ?= python3
66

77
# Generate gRPC stubs from proto submodule into coordinode/_proto/

coordinode/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ fallback-version = "0.0.0"
4848
raw-options = {root = ".."}
4949

5050
[tool.hatch.build.hooks.vcs]
51-
version-file = "_version.py"
51+
version-file = "coordinode/_version.py"
5252

5353
[tool.hatch.build.targets.wheel]
54-
sources = {"." = "coordinode"}
54+
packages = ["coordinode"]
5555

5656
[tool.pytest.ini_options]
5757
asyncio_mode = "auto"

0 commit comments

Comments
 (0)