Skip to content

Commit d1e6647

Browse files
committed
fix: remove setuptools-rust dependency
1 parent 455e4f6 commit d1e6647

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

pyproject.toml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "setuptools-rust"]
2+
requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -9,17 +9,14 @@ description = "The Python language bindings for the Bitcoin Development Kit"
99
readme = "README.md"
1010
requires-python = ">=3.7"
1111
license = "MIT OR Apache-2.0"
12+
license-files = ["LICENSE-MIT", "LICENSE-APACHE"]
1213
authors = [
13-
{name = "Bitcoin Dev Kit Developers", email = "[email protected]"}
14+
{ name = "Bitcoin Dev Kit Developers", email = "[email protected]" }
1415
]
1516
keywords = ["bitcoin", "bdk", "wallet", "ffi", "rust"]
1617
classifiers = [
17-
"Programming Language :: Python :: 3",
18-
"Programming Language :: Rust",
19-
"Operating System :: OS Independent"
20-
]
21-
dependencies = [
22-
"cffi>=1.0"
18+
"Programming Language :: Python :: 3",
19+
"Operating System :: OS Independent",
2320
]
2421

2522
[project.urls]
@@ -32,13 +29,8 @@ include-package-data = true
3229
[tool.setuptools.packages.find]
3330
where = ["src"]
3431

35-
[tool.setuptools.package-dir]
36-
bdkpython = "src/bdkpython"
37-
38-
[tool.setuptools-rust]
39-
rust_extensions = [
40-
{ path = "Cargo.toml", binding = "pyo3", debug = true }
41-
]
32+
[tool.setuptools.package-data]
33+
bdkpython = ["libbdkffi.*"]
4234

4335
[tool.pytest.ini_options]
4436
pythonpath = ["."]

0 commit comments

Comments
 (0)