Skip to content

Commit 17148d4

Browse files
beinancursoragent
andauthored
fix(python): set module-name in pyproject.toml to resolve maturin build error (lance-format#137)
## Summary Explicitly set `module-name = "lance_graph._internal"` in `pyproject.toml`. This fixes a build error where maturin was looking for `_internal` as a top-level module in the python source directory, instead of placing it inside the `lance_graph` package. ## Test plan - Verified locally that `maturin develop` works correctly with this change. - CI should pass. Made with [Cursor](https://cursor.com) Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c248af2 commit 17148d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ classifiers = [
3838

3939
[tool.maturin]
4040
python-source = "python"
41+
module-name = "lance_graph._internal"
4142
python-packages = ["lance_graph", "knowledge_graph"]
4243
manifest-path = "../crates/lance-graph-python/Cargo.toml"
4344

0 commit comments

Comments
 (0)