Skip to content

Add support for named Other/Proprietary Licenses #2020

@cfarrend

Description

@cfarrend
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Currently

When you want to use the Other/Proprietary License license type you specify in your pyproject.toml file:

license = "Proprietary"

When uploaded to PyPi, the license shows as the following in the metadata section:

License: Other/Proprietary License (Proprietary)

Desired

We wish to specify our own License name for the Other/Proprietary License instead of the generic "Proprietary" such that we can put in links to our own licenses, or provide the name of the license if not natively supported by PyPi. Some examples are here:

Code

Having a dig around the code seems to be around here

_licenses["proprietary"] = License("Proprietary", "Proprietary", False, False)

https://github.com/python-poetry/poetry/blob/master/poetry/spdx/license.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions