Skip to content

Commit bc914f1

Browse files
authored
chore: Add maturin import hook for development (#430)
* Add maturin import hook * regen lockfile
1 parent cae851f commit bc914f1

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

DEVELOP.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ uv run maturin develop -m obstore/Cargo.toml --release
2828

2929
to compile `obstore` with release optimizations turned on.
3030

31+
### Maturin import hook
32+
33+
Run
34+
```
35+
uv run python -m maturin_import_hook site install
36+
```
37+
38+
to ensure that obstore is automatically recompiled if changed whenever you
39+
import `obstore` in Python.
40+
41+
See [import hook docs](https://www.maturin.rs/import_hook) for more information.
42+
3143
### Tests
3244

3345
All obstore tests should go into the top-level `tests` directory.

uv.lock

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

0 commit comments

Comments
 (0)