init python lib generation with pyo3

This commit is contained in:
Henri Bourcereau 2025-02-08 13:28:42 +01:00
parent 59c80c66e4
commit 883d799edb
8 changed files with 201 additions and 6 deletions

10
store/pyproject.toml Normal file
View file

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