Skip to content

Bugfix: exclude docs and tests from package discovery - #25

Merged
BrianWhitneyAI merged 1 commit into
mainfrom
bugfix/24-setuptools-exclude-patterns
Dec 3, 2026
Merged

BrianWhitneyAI merged 1 commit into
mainfrom
bugfix/24-setuptools-exclude-patterns

Conversation

@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

The packages.find exclude patterns (*docs/*, *tests/*) contain slashes, which never match dotted package names, so the top-level docs/ directory and any tests packages are installed into site-packages. The docs/ directory collides with the same directory from bioio and other bioio packages.

Changes the patterns to docs*, tests*, *.tests and *.tests.*. Same fix as bioio-devs/bioio#241.

Resolves #24

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@BrianWhitneyAI
BrianWhitneyAI requested a review from a team as a code owner December 2, 2026 18:55
@BrianWhitneyAI
BrianWhitneyAI merged commit a400834 into main Dec 3, 2026
@BrianWhitneyAI
BrianWhitneyAI deleted the bugfix/24-setuptools-exclude-patterns branch December 3, 2026 16:48
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.

Bug: setuptools exclude patterns don't exclude docs and tests

1 participant