Skip to content

fix(pyproject): specify py-modules to fix setuptools editable install discovery#606

Open
aniruddhaadak80 wants to merge 1 commit into
karpathy:masterfrom
aniruddhaadak80:fix/issue-387-setuptools-discovery
Open

fix(pyproject): specify py-modules to fix setuptools editable install discovery#606
aniruddhaadak80 wants to merge 1 commit into
karpathy:masterfrom
aniruddhaadak80:fix/issue-387-setuptools-discovery

Conversation

@aniruddhaadak80

Copy link
Copy Markdown

Explicitly defines py-modules in pyproject.toml under [tool.setuptools] to resolve the setuptools flat-layout discovery error when installing in editable mode (Fixes #387).

Copilot AI review requested due to automatic review settings June 13, 2026 04:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds setuptools configuration to ensure train and prepare are included as top-level Python modules when building/distributing the project.

Changes:

  • Added [tool.setuptools] section to declare py-modules = ["train", "prepare"].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Editable install fails due to multiple top-level modules (setuptools discovery issue)

2 participants