Skip to content

Fix modelzoo configs: add to package-data#163

Merged
deruyter92 merged 3 commits intomainfrom
jaap/update_modelzoo
Feb 19, 2026
Merged

Fix modelzoo configs: add to package-data#163
deruyter92 merged 3 commits intomainfrom
jaap/update_modelzoo

Conversation

@deruyter92
Copy link
Collaborator

The modelzoo configs were not added to package-data making the yaml files unavailable when building the repository. Fixed by adding the config paths to MANIFEST.in and pyproject.toml

also refactored:

  • list of available models was confusing, as not all available configs are downloadable from huggingface
  • added docstring to modelzoo export

Copy link
Collaborator

@C-Achard C-Achard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one minor simplification I think we can make. Thanks !

Comment on lines +1 to +3
include dlclive/check_install/*
include dlclive/modelzoo/model_configs/*.yaml
include dlclive/modelzoo/project_configs/*.yaml No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is technically redundant with [tool.setuptools.package-data], perhaps we can favor the toml as the single source of package data ?

@C-Achard C-Achard added the enhancement New feature or request label Feb 19, 2026
@deruyter92 deruyter92 merged commit eb15fa8 into main Feb 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments