Add an option to include actual license terms to the output (#85624)
When building products using PyTorch, it is often required to display license terms for all dependencies.
The feature itself has been implemented in #81500 but it seems there are no options to enable it.
This PR implements the option.
cc/ @mattip @rgommers
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85624
Approved by: https://github.com/rgommers, https://github.com/seemethere