Skip to content

Include only audmodel* in Python package#43

Merged
hagenw merged 1 commit into
mainfrom
exclude-doc-test-folder-from-package
Apr 15, 2026
Merged

Include only audmodel* in Python package#43
hagenw merged 1 commit into
mainfrom
exclude-doc-test-folder-from-package

Conversation

@hagenw
Copy link
Copy Markdown
Member

@hagenw hagenw commented Apr 15, 2026

This restricts the files included in the Python package to audmodel*.

Same fix as audeering/audb#560 (audeering/audb#559). The previous exclude = ['tests*', 'docs*', 'misc*'] blacklist worked but is fragile — any new top-level directory (e.g. examples/, notebooks/, benchmarks/) would silently be packaged and end up under site-packages/, shadowing local packages of the same name in downstream projects. Switching to a include whitelist makes the intent explicit and future-proof.

@hagenw hagenw merged commit 632b112 into main Apr 15, 2026
11 checks passed
@hagenw hagenw deleted the exclude-doc-test-folder-from-package branch April 15, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant