init python lib generation with pyo3
This commit is contained in:
parent
59c80c66e4
commit
883d799edb
8 changed files with 201 additions and 6 deletions
10
store/pyproject.toml
Normal file
10
store/pyproject.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue