Skip to content

Include only audresample* in Python package#80

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

Include only audresample* in Python package#80
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 audresample*.

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 2e9e3a1 into main Apr 15, 2026
19 checks passed
@hagenw hagenw deleted the exclude-doc-test-folder-from-package branch April 15, 2026 11:42
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