Bundle hub registration schema in the installed package
Some checks failed
ci / validate-registry (push) Has been cancelled

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.
This commit is contained in:
2026-06-15 10:11:41 +02:00
parent ae41395d3e
commit cb7a6e4f2e
3 changed files with 153 additions and 4 deletions

View File

@@ -26,4 +26,7 @@ reuse-surface = "reuse_surface.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["reuse_surface*"]
include = ["reuse_surface*"]
[tool.setuptools.package-data]
reuse_surface = ["hub/hub-registration.schema.yaml"]