Skip to content

Commit 79453e7

Browse files
committed
build: update pyproject.toml to include project metadata as per PEP 621
1 parent 57ade8b commit 79453e7

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

pyproject.toml

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
11
[build-system]
22
requires = ["setuptools", "wheel", "setuptools-rust"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "bdkpython"
7+
version = "2.0.0.dev0"
8+
description = "The Python language bindings for the Bitcoin Development Kit"
9+
readme = "README.md"
10+
requires-python = ">=3.7"
11+
license = "MIT OR Apache-2.0"
12+
authors = [
13+
{name = "Bitcoin Dev Kit Developers", email = "[email protected]"}
14+
]
15+
keywords = ["bitcoin", "bdk", "wallet", "ffi", "rust"]
16+
classifiers = [
17+
"Programming Language :: Python :: 3",
18+
"Programming Language :: Rust",
19+
"Operating System :: OS Independent"
20+
]
21+
dependencies = [
22+
"cffi>=1.0"
23+
]
24+
25+
[tool.setuptools]
26+
include-package-data = true
27+
28+
[tool.setuptools.packages.find]
29+
where = ["src"]
30+
31+
[tool.setuptools.package-dir]
32+
bdkpython = "src/bdkpython"
33+
34+
[tool.setuptools-rust]
35+
rust_extensions = [
36+
{ path = "Cargo.toml", binding = "pyo3", debug = true }
37+
]
338

439
[tool.pytest.ini_options]
5-
pythonpath = [
6-
"."
7-
]
40+
pythonpath = ["."]

0 commit comments

Comments
 (0)