Skip to content

license command fails to find license file on .NET tool install #1997

@slozier

Description

@slozier

The license command from site looks in lib/.., lib or . for the license file to display. With the .NET global tool install the LICENSE is not in one of those folders.

We get:

>>> license
See https://www.python.org/psf/license/

instead of the expected:

>>> license
Type license() to see the full license text

This works as expected for the msi install. Did not check the behaviour of the other installs...

See #1996

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions