Skip to content

Update setuptools configuration to use package discovery#8

Open
XChikuX wants to merge 2 commits intonari-labs:mainfrom
XChikuX:claude/fix-nested-folders-install-6gBVh
Open

Update setuptools configuration to use package discovery#8
XChikuX wants to merge 2 commits intonari-labs:mainfrom
XChikuX:claude/fix-nested-folders-install-6gBVh

Conversation

@XChikuX
Copy link
Copy Markdown

@XChikuX XChikuX commented Feb 17, 2026

Summary

Updated the setuptools configuration in pyproject.toml to use automatic package discovery instead of manual package specification.

Key Changes

  • Changed from static [tool.setuptools] configuration to [tool.setuptools.packages.find] for dynamic package discovery
  • Updated package specification from packages = ["dia2"] to include = ["dia2", "dia2.*"] to automatically discover the main package and all subpackages

Implementation Details

This change enables setuptools to automatically discover and include the dia2 package and all its subpackages (indicated by the dia2.* pattern), making the configuration more maintainable and reducing the need for manual updates when new subpackages are added to the project.

https://claude.ai/code/session_01GbqWPZjVDJUi7MGXy15dnh

XChikuX and others added 2 commits February 18, 2026 01:32
Replace explicit package list with setuptools find directive
so all subpackages (dia2.audio, dia2.core, dia2.runtime) are
automatically discovered and included during installation.

https://claude.ai/code/session_01GbqWPZjVDJUi7MGXy15dnh
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