feat: python bindings

This commit is contained in:
Henri Bourcereau 2026-01-18 18:41:08 +01:00
parent daf84f29ab
commit a0f6ee99b2
12 changed files with 402 additions and 14 deletions

9
store/pyproject.toml Normal file
View file

@ -0,0 +1,9 @@
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
features = ["pyo3/extension-module"]
# python-source = "python"
# module-name = "trictrac.game"