-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (45 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (45 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Python packaging for `content-addressable` (import name: content_addressable).
#
# The compiled extension comes from the `content-addressable-py` workspace
# member (a cdylib), built by maturin via `manifest-path` below. The core Rust
# crate stays free of any PyO3 dependency.
[build-system]
requires = ["maturin>=1.5,<2"]
build-backend = "maturin"
[project]
name = "content-addressable"
version = "0.1.0"
description = "IPLD-native content addressing for Python: data that carries its own proof of integrity (BLAKE3 + CIDv1 + canonical dag-cbor)."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [{ name = "Shawn Hartsock" }]
keywords = ["content-addressing", "ipld", "cid", "merkle", "blake3", "dag-cbor"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Security :: Cryptography",
]
[project.urls]
Repository = "https://github.com/hartsock/content-addressable"
[tool.maturin]
# Build the bindings crate, not the workspace default (the core crate).
manifest-path = "content-addressable-py/Cargo.toml"
# The importable module name. The cdylib `[lib] name` already matches, but be
# explicit so maturin installs it as `content_addressable`.
module-name = "content_addressable"
# Re-assert the extension-module linkage at the maturin layer (matches the
# crate's own default features) so the wheel links correctly.
features = ["pyo3/extension-module"]
[tool.pytest.ini_options]
testpaths = ["tests"]