Skip to content

Missing LICENSE file from wheel even when [project] is not defined in pyproject.toml #2773

@ddelange

Description

@ddelange

Bug Description

The LICENSE file will be missing from wheels even if [project] is not defined in pyproject.toml. See oconnor663/blake3-py#69 to work around this bug and add LICENSE file to the wheel, but removed numerous entries from METADATA, and then oconnor663/blake3-py#88 to fix the latter.

Your maturin version (maturin --version)

logs no longer available

Your Python version (python -V)

all affected

Your pip version (pip -V)

--

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

see PR linked above. without that PR, METADATA entries are present but the actual LICENSE file is missing from dist-info in the wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions