-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow license
to be listed in the dynamic section
#270
Comments
Thanks for the suggestion! However, I think the semantics are a little bit different, |
It's unfortunate this wasn't thought of earlier when the pyproject.toml was designed. Seems so fundamental, but hopefully the PEP is accepted. For now, I'll just leave it as is since I see no better way to express dual licensed software. |
My recommendation for that case would be to have a single license file with both licenses, and specifying it in |
Unfortunately that wouldn't be REUSE compliant from what I understand. |
I didn't know about REUSE, thank you for pointing it out. I've only skimmed it a bit, but I can't tell how it wouldn't be compliant? You can still have the SPDX headers, you'd just have an extra license file for the Python tooling to read. In fact, using the REUSE spec you should even be able to automatically generate this file! Am I missing something here? 🤣 |
Hmm |
Agreed. I have pinged the discourse thread. Let's see if we can get it to move forward. (cc @CAM-Gerlach) |
Thanks for your efforts. |
Sorry, finishing what is hopefully the last major update got stuck beyond a pile of other things that came up over the past few months, but I've now got most of the next rewrite complete and it's near the top of my priority list to finish, hopefully in the next few days 🤞 I can also mention REUSE compliance and this issue in the rationale and on the thread. |
@CAM-Gerlach no problem whatsoever. At least someone thought about it in the first place! |
Thanks, but to be fair that person with the original idea wasn't me—credit for that is due to @pombredanne |
Could one of y'all link to the discourse thread where I presume discussion of the referenced PEP is? I am not familiar with the Python PEP process. |
Meson 1.1 now has |
Thanks @QuLogic. That does look potentially useful, especially for the subproject case you mention, since that cannot be done from |
You can install them to *.dist-info/licenses, regardless of the availability/usefulness for |
PEP639 is now provisional, i.e., waiting for two build backends to implement it. meson-python could be one of those two. |
Meson already has
project(license:)
. Would it be possible to autodetect it dynamically? For instace, I have'Apache-2.0 OR MIT'
as the value inproject()
. I would like this to populate thelicense = { text = "XXX" }
metadata like this project already does withversion
.The text was updated successfully, but these errors were encountered: