fix(python): flatten packing buffers and package Cargo libraries

This commit is contained in:
Jan Petykiewicz 2026-11-15 20:01:26 -08:00
commit 912a267028

View file

@ -1,6 +1,6 @@
[build-system]
requires = ["maturin>1.0,<2.0"]
build-backend = "maturin"
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "klamath_rs_ext"
@ -10,8 +10,6 @@ description = "Compiled extensions for klamath GDS library"
authors = [
{ name="Jan Petykiewicz", email="jan@mpxd.net" },
]
homepage = "https://mpxd.net/code/jan/klamath-rs"
repository = "https://mpxd.net/code/jan/klamath-rs"
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
@ -30,8 +28,16 @@ requires-python = ">=3.11"
dynamic = ["version"]
dependencies = [
"cffi",
"numpy",
]
[tool.maturin]
bindings = "cffi"
[project.urls]
Homepage = "https://mpxd.net/code/jan/klamath-rs"
Repository = "https://mpxd.net/code/jan/klamath-rs"
[tool.setuptools]
packages = ["klamath_rs_ext"]
[tool.setuptools.package-data]
klamath_rs_ext = ["py.typed", "_ffi.h"]