Skip to content

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

@AviJxn

Description

@AviJxn

Attempting to install the package via pip install . fails on standard Windows environments (and potentially other fresh envs) with a setuptools configuration error. The build system detects multiple top-level packages (backend, frontend, data_processing) and cannot determine the package root because the layout is flat/ambiguous.

Clone the repository on a Windows machine.
Create a fresh virtual environment (Python 3.11).
Run pip install .

Expected Behavior

The package should install successfully.

Actual Behavior

Installation crashes with: error: Multiple top-level packages discovered in a flat-layout

Image

Proposed Solution

I have identified a fix by explicitly configuring [tool.setuptools.packages.find] in pyproject.toml. I will submit a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions