Skip to content

Commit 53ecc6c

Browse files
author
CID Agent
committed
Add PyPI metadata and install test protocol
- Add description, license, authors, keywords, classifiers, and project URLs to crates/iscc-py/pyproject.toml for proper PyPI presentation - Add scripts/test_install.py to verify published packages are installable from PyPI, crates.io, npm, and Go proxy with conformance smoke tests - Add mise run test:install task
1 parent 0eafbce commit 53ecc6c

File tree

3 files changed

+488
-0
lines changed

3 files changed

+488
-0
lines changed

crates/iscc-py/pyproject.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,35 @@ build-backend = "maturin"
44

55
[project]
66
name = "iscc-lib"
7+
description = "High-performance Python bindings for ISO 24138:2024 (ISCC)"
78
dynamic = ["version"]
89
readme = "README.md"
910
requires-python = ">=3.10"
11+
license = "Apache-2.0"
12+
authors = [{ name = "Titusz Pan", email = "tp@py7.de" }]
13+
keywords = ["iscc", "content-id", "media", "fingerprint", "iso24138"]
1014
classifiers = [
15+
"Development Status :: 2 - Pre-Alpha",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: Apache Software License",
1118
"Programming Language :: Rust",
1219
"Programming Language :: Python :: Implementation :: CPython",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
25+
"Topic :: Multimedia",
26+
"Topic :: Scientific/Engineering :: Information Analysis",
27+
"Topic :: Software Development :: Libraries",
1328
]
1429

30+
[project.urls]
31+
Homepage = "https://lib.iscc.codes"
32+
Repository = "https://github.com/iscc/iscc-lib"
33+
Documentation = "https://lib.iscc.codes"
34+
Issues = "https://github.com/iscc/iscc-lib/issues"
35+
1536
[tool.maturin]
1637
features = ["pyo3/extension-module"]
1738
python-source = "python"

mise.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ cargo test --workspace &&
7272
uv run pytest
7373
"""
7474

75+
# --- Release verification ---
76+
77+
[tasks."test:install"]
78+
description = "Test published packages are installable from registries"
79+
run = "uv run scripts/test_install.py {{arg(name='flags', i=0, default='--version 0.0.1')}}"
80+
7581
# --- Version ---
7682

7783
[tasks."version:sync"]

0 commit comments

Comments
 (0)