fix(python): flatten packing buffers and package Cargo libraries
This commit is contained in:
parent
f081a808ea
commit
912a267028
1 changed files with 355 additions and 9 deletions
|
|
@ -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"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue