Skip to content

Include only audeer* in Python package#194

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

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

Conversation

@hagenw

@hagenw hagenw commented Apr 15, 2026

Copy link
Copy Markdown
Member

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

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 409724c into main Jun 24, 2026
20 checks passed
@hagenw hagenw deleted the exclude-doc-test-folder-from-package branch June 24, 2026 10:51
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