packaging icon indicating copy to clipboard operation
packaging copied to clipboard

Add SPDX license data

Open ofek opened this issue 9 months ago • 0 comments

In response to this comment by a maintainer expressing approval for license parsing functionality, this PR introduces an invoke task to update an enumeration encoded as a Python structure.

This setup is the same as what Hatchling does:

  • https://github.com/pypa/hatch/blob/hatchling-v1.24.2/backend/scripts/update_licenses.py
  • https://github.com/pypa/hatch/blob/hatchling-v1.24.2/backend/src/hatchling/licenses/supported.py

The parser itself and what the API should look like will be discussed in a separate PR.

The file may be generated by running: invoke licenses.update

ofek avatar May 10 '24 21:05 ofek