Skip to content

Conversation

@AviJxn
Copy link

@AviJxn AviJxn commented Jan 25, 2026

Problem

The current pyproject.toml lacks explicit package discovery configuration. On Windows and other fresh environments, pip install . fails because setuptools detects a flat-layout with multiple top-level packages (backend, frontend, data_processing) and cannot determine the package root ambiguity.

Additionally, the requires-python constraint (>=3.12) prevents installation on standard Python 3.11 environments, which are still widely used and compatible with the dependencies.

Solution

  • Explicit Discovery: Added [tool.setuptools.packages.find] to explicitly include backend, frontend, and data_processing.
  • Version Compatibility: Relaxed requires-python to >=3.11 to support a broader range of development environments.

Verification

  • Before: pip install . crashed with error: Multiple top-level packages discovered.
Screenshot 2026-01-25 175048
  • After: pip install . completes successfully, and all dependencies resolve correctly.
Screenshot 2026-01-25 185729

Fixes #36

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.

Build Failure: "Multiple top-level packages" error prevents standard pip install on Windows

1 participant