feat: python bindings (wip)

This commit is contained in:
Henri Bourcereau 2026-01-18 20:19:10 +01:00
parent 13ec2009a5
commit 39fd807339
3 changed files with 83 additions and 206 deletions

View file

@ -1,9 +0,0 @@
[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"