- some workarounds to get jars and shared libs in the right place for python

- add most ndbioimage python code and use rs code as bfread
This commit is contained in:
Wim Pomp
2025-02-16 23:02:40 +01:00
parent fefdd6448b
commit 372b816f93
19 changed files with 3035 additions and 23 deletions

View File

@@ -1,9 +1,9 @@
[build-system]
requires = ["maturin>=1.8,<2.0"]
requires = ["maturin>=1.8.2"]
build-backend = "maturin"
[project]
name = "ndbioimage_rs"
name = "ndbioimage"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
@@ -11,5 +11,12 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "py"
features = ["pyo3/extension-module", "python", "gpl-formats"]
module-name = "ndbioimage.ndbioimage_rs"
exclude = ["py/ndbioimage/jassets/*", "py/ndbioimage/deps/*"]
[tool.isort]
line_length = 119