Skip to content

Include only audiofile* in Python package#185

Open
hagenw wants to merge 2 commits into
mainfrom
exclude-doc-test-folder-from-package
Open

Include only audiofile* in Python package#185
hagenw wants to merge 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.

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