Skip to content

Include only audiofile* in Python package#185

Merged
hagenw merged 2 commits into
mainfrom
exclude-doc-test-folder-from-package
May 20, 2026
Merged

Include only audiofile* in Python package#185
hagenw merged 2 commits 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 audiofile*.

Same fix as audeering/audb#560 (audeering/audb#559): the empty [tool.setuptools.packages.find] defaults to namespaces = true, causing setuptools to also pick up tests/, docs/, benchmarks/, and build/ as top-level namespace packages. They end up installed under site-packages/ and shadow any local tests/ or docs/ packages in downstream projects.

@hagenw hagenw merged commit 08e4e8e into main May 20, 2026
34 checks passed
@hagenw hagenw deleted the exclude-doc-test-folder-from-package branch May 20, 2026 05:47
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