Skip to content

fix: configure setuptools package discovery for src layout#20

Merged
fmueller merged 1 commit intomainfrom
codex/investigate-uvx-installation-issue
Feb 3, 2026
Merged

fix: configure setuptools package discovery for src layout#20
fmueller merged 1 commit intomainfrom
codex/investigate-uvx-installation-issue

Conversation

@fmueller
Copy link
Owner

Motivation

  • Ensure build tools can discover and install the package from the repository's src layout by configuring setuptools package discovery and including package data in the distribution.

Description

  • Add a [tool.setuptools] section to pyproject.toml with package-dir = { "" = "src" }, include-package-data = true, and a packages.find config with where = ["src"] so setuptools can find packages under src.

Testing

  • Ran uv run ruff check (passed), uv run pytest (160 tests passed), and uv run mypy which failed due to missing torch because uv sync --locked --all-extras --dev could not download mpmath (network/tunnel error) preventing installation of the extra required for type-checking.

Codex Task

@fmueller fmueller merged commit 3a69ffc into main Feb 3, 2026
3 checks passed
@fmueller fmueller deleted the codex/investigate-uvx-installation-issue branch February 3, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant