Files
reuse-surface/pyproject.toml
tegwick cb7a6e4f2e
Some checks failed
ci / validate-registry (push) Has been cancelled
Bundle hub registration schema in the installed package
Load the schema from reuse_surface/hub/ next to store.py and declare
package-data so pip install includes the YAML in site-packages. Fixes
hub register 500 in the container image.
2026-06-15 10:11:41 +02:00

32 lines
650 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "reuse-surface"
version = "0.1.0"
description = "Capability registry tooling for reuse-surface"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110",
"jsonschema>=4.0",
"pyyaml>=6.0",
"uvicorn[standard]>=0.27",
]
[project.optional-dependencies]
dev = [
"httpx>=0.27",
"pytest>=8.0",
]
[project.scripts]
reuse-surface = "reuse_surface.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["reuse_surface*"]
[tool.setuptools.package-data]
reuse_surface = ["hub/hub-registration.schema.yaml"]