Skip to content

Include only audplot* in Python package#86

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

Include only audplot* in Python package#86
hagenw merged 1 commit intomainfrom
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 audplot*.

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 force-pushed the exclude-doc-test-folder-from-package branch from 5f2bab5 to 2215b3c Compare April 15, 2026 08:11
@hagenw hagenw merged commit 1c93dc9 into main Apr 15, 2026
19 checks passed
@hagenw hagenw deleted the exclude-doc-test-folder-from-package branch April 15, 2026 12:43
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