-
Notifications
You must be signed in to change notification settings - Fork 3
Create a usethis show license command #1662
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
We can use several heuristics to detect a license, in this order:
- Use the
identify[license]package to scan likely files at root likeLICENSEandLICENSE.mdetc.
https://pypi.org/project/identify/
identify.license_id('LICENSE') - using
pyproject.tomlin theproject.licensefield - using
pyprojec.tomlin theproject.classifierse.g."License :: OSI Approved :: MIT License"
We should display using the SPDX format https://spdx.org/licenses/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request