Hi,
The documentation for the license attribute states that
This attribute can contain several, comma separated licenses. It is a text string, so it can contain any text, including hyperlinks to license files elsewhere.
However, it's not clear whether multiple licenses should be a single string containing comma-separated licenses like so:
license = "MIT, GPL-3.0-or-later"
or a tuple of comma-separated strings:
license = "MIT", "GPL-3.0-or-later"
I've been able to find one example and one comment from @ericriff where it's a tuple:
https://github.com/conan-io/conan-center-index/blob/bab95647f8588594a809d59af368ffd798f602da/recipes/restbed/all/conanfile.py#L20
conan-io/conan-center-index#4333 (comment)
Is this correct?
Regardless, could the documentation be updated to clarify which is the case? Or should it be both?
Thanks,
Bob Ham
Hi,
The documentation for the license attribute states that
However, it's not clear whether multiple licenses should be a single string containing comma-separated licenses like so:
or a tuple of comma-separated strings:
I've been able to find one example and one comment from @ericriff where it's a tuple:
https://github.com/conan-io/conan-center-index/blob/bab95647f8588594a809d59af368ffd798f602da/recipes/restbed/all/conanfile.py#L20
conan-io/conan-center-index#4333 (comment)
Is this correct?
Regardless, could the documentation be updated to clarify which is the case? Or should it be both?
Thanks,
Bob Ham