Skip to content

Editable install fails due to missing LICENSE file and ambiguous package discovery #225

Open

Description

@Ad7amstein

Running pip install -e . fails with the following issues:

  1. Missing or misnamed license file

    File '.../PDF-Extract-Kit/LICENSE' cannot be found
    

    This is caused by the line license = { file = "LICENSE" } in pyproject.toml, but no such file exists.

    Fix: Change to a valid existing file (e.g., LICENSE.md) or replace with a license string

  2. Multiple top-level packages discovered

    Multiple top-level packages discovered in a flat-layout: ['assets', 'configs', 'project', 'pdf_extract_kit']
    

    This prevents setuptools from building the project in editable mode.

    Fix: Add explicit package inclusion

These changes are required to successfully install the package in editable mode using pip install -e ..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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