Add a Credits/Licences dialogue with relevant licence and copyright data #3680
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR achieves two things:
As a future UI improvement, we might want to review and merge some of these help items into a tabbed dialogue but that's not necessary right now.
(This PR relies on an enhancement to
src/sas/system/resources.pythat are also proposed in #3678, so those 3 commits are also shown below)Fixes #3095
Fixes #3477
How Has This Been Tested?
Running from a git checkout or from an installed wheel, Help → Credits and Licenses shows SasView, SasData and sasmodels licences.
Running from an installer, the dialogue will show the licences of everything that is bundled. (Noting that due to #3664, you have to delete
sasmodels/models/two_yukawa.pyfor sasview to be able to start)Review Checklist:
[if using the editor, use
[x]in place of[ ]to check a box]Documentation (check at least one)
Installers
Licensing (untick if necessary)