Skip to content

Commit

Permalink
fix: bindings wheel config
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Dec 23, 2024
1 parent a4a49ca commit 7b051ea
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 12 deletions.
27 changes: 24 additions & 3 deletions ant-node/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,37 @@ build-backend = "maturin"
name = "antnode"
dynamic = ["version"]
description = "The Autonomi node binary"
authors = [{ name = "MaidSafe Developers", email = "[email protected]" }]
dependencies = ["maturin>=1.7.4", "pip>=24.3.1"]
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"maturin>=1.7.4",
"pip>=24.3.1",
license = { text = "GPL-3.0" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Rust",
]

[project.urls]
Homepage = "https://maidsafe.net"
Repository = "https://github.com/maidsafe/autonomi"

[tool.maturin]
features = ["extension-module"]
module-name = "antnode._antnode"
python-source = "python"
bindings = "pyo3"
include = ["Cargo.toml"]
manifest-path = "Cargo.toml"
sdist-include = ["python/antnode/*"]

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
30 changes: 21 additions & 9 deletions autonomi/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,42 @@
[build-system]
requires = ["maturin>=1.4,<2.0"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
features = ["extension-module"]
module-name = "autonomi_client"
bindings = "pyo3"

[project]
name = "autonomi-client"
dynamic = ["version"]
description = "Autonomi client API"
authors = [{ name = "MaidSafe Developers", email = "[email protected]" }]
dependencies = ["maturin>=1.7.4", "pip>=24.0"]
readme = "README_PYTHON.md"
requires-python = ">=3.8"
license = { text = "GPL-3.0" }
authors = [{ name = "MaidSafe Developers", email = "[email protected]" }]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
]

[project.urls]
Homepage = "https://maidsafe.net"
Repository = "https://github.com/maidsafe/autonomi"

[tool.maturin]
features = ["extension-module"]
module-name = "autonomi_client"
python-source = "."
bindings = "pyo3"
include = ["Cargo.toml"]
manifest-path = "Cargo.toml"

[tool.pytest.ini_options]
testpaths = ["tests/python"]
python_files = ["test_*.py"]
Expand Down

0 comments on commit 7b051ea

Please sign in to comment.