Skip to content

Conversation

DebopamParam
Copy link
Contributor

The [tool.setuptools.packages.find] configuration with the include pattern include = ["byaldi*"] instructs setuptools to automatically discover all packages and subpackages under byaldi. The wildcard asterisk (*) matches any subpackage within byaldi, including structures like byaldi, byaldi.integrations, byaldi.subpackage, and more. This configuration automatically includes all nested subdirectories as Python packages, provided they contain an init.py file, which reduces manual maintenance since each subpackage does not need to be listed explicitly.

The [tool.setuptools.packages.find] configuration with the include pattern include = ["byaldi*"] instructs setuptools to automatically discover all packages and subpackages under byaldi. The wildcard asterisk (*) matches any subpackage within byaldi, including structures like byaldi, byaldi.integrations, byaldi.subpackage, and more. This configuration automatically includes all nested subdirectories as Python packages, provided they contain an __init__.py file, which reduces manual maintenance since each subpackage does not need to be listed explicitly.
@bclavie
Copy link
Contributor

bclavie commented Nov 4, 2024

Thank you, I was about to set out to do this!

@bclavie bclavie merged commit 88c2502 into AnswerDotAI:main Nov 4, 2024
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.

2 participants