Skip to content

License not being populated #12

@Zearin

Description

@Zearin

NOTE: I discovered this issue while working on a repo that is (temporarily) private. I’ve added @a-tal to the list of contributors to allow you to view the repository and investigate this bug. The commit where I discovered the bug is eb2224b6.


Description

When I run py-build and inspect the *.egg-info contents, some of the metadata is wrong. For this Issue, let’s focus on the License (or license).

I have specified a license in my pypackage.meta, but in the *.egg-info/PKG-INFO file, the license is listed as UNKNOWN. (If pypackage also tries to guess from repo files, I also have a root-level LICENSE file with the standard MIT License text.)

To Reproduce the Issue

  • Check out eb2224b6
  • Run python3 -m venv _venv (at least, that’s the venv name I’ve chosen)
  • Run source _venv/bin/activate
  • Run py-build
  • Check src/cucumber.egg-info/PKG-INFO for License: UNKNOWN

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