Files
Henrique Gemignani Passos Lima 047ab46da6 Add Python Bindings (#14)
* GC fixes from pr #13

* Fix reading boot.bin

* Fix for building gc iso

* Fix game title in apply_overrides

* Format

* Add python binding

* Add DiscWriter

* Update pyo3

* Fix missing callbacks

* Fix process description

* Refuse untyped arguments

* Replace open_disc with just using DiscReader directly

* Add DiscPatcher

* format

* Add support for changing headers

* PyPartitionReader.__repr__

* read_file now opens a file

* Add set_dol

* Rename to nod-rs

* Format

* lock file

* Remove unused import

* Format

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-06-03 02:22:35 -06:00

12 lines
378 B
Makefile

# Generate the nod-ffi C header
cbindgen:
cbindgen --config nod-ffi/cbindgen.toml --crate nod-ffi --output nod-ffi/include/nod.h
# Build and install the nod Python bindings (dev mode)
py-dev:
cd nod && uv pip install -e .
# Build and install the nod Python bindings (release mode)
py-release:
cd nod && uv pip install -e . --config-settings build-args='--release'