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.
This commit is contained in:
parent
ae41395d3e
commit
cb7a6e4f2e
3 changed files with 153 additions and 4 deletions
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue