pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
288 stars 124 forks source link

Adjusting license tag to use SPDX identifier #345

Open hyandell opened 1 year ago

hyandell commented 1 year ago

Hi Pyvisa folk,

My understanding is that, when possible, the license field ought to contain a descriptive identifier rather than link to the license. Typically that's when an SPDX license identifier exists. That makes it easier for automation, like the pypi website, to more cleanly describe the license.

As your license is the MIT license, here's a proposed PR to adjust it to be "MIT" rather than copying the whole license in.

MatthieuDartiailh commented 1 year ago

Your approach aligns with PEP 639 but it has not been accepted yet. Do you know if it is already supported by setuptools ?

hyandell commented 1 year ago

Thanks for the heads up on PEP 639; I come to Python by way of licensing in the Java world so hadn't discovered that yet.

I haven't seen that show up in any PyPI packages, so I'm guessing it's not supported yet, or not known.