Merge pull request #13109 from TheRealHaoLiu/move-licenses

move license directory out of docs
This commit is contained in:
Shane McDonald
2022-11-17 08:18:15 -05:00
committed by GitHub
327 changed files with 31 additions and 7 deletions

View File

@@ -32,14 +32,14 @@ You can upgrade (`pip-compile --upgrade`) the dependencies by running
## Licenses and Source Files
If any library has a change to its license with the upgrade, then the license for that library
inside of `docs/licenses` needs to be updated.
inside of `licenses` needs to be updated.
For libraries that have source distribution requirements (LGPL as an example),
a tarball of the library is kept along with the license.
To download the PyPI tarball, you can run this command:
```
pip download <pypi library name> -d docs/licenses/ --no-binary :all: --no-deps
pip download <pypi library name> -d licenses/ --no-binary :all: --no-deps
```
Make sure to delete the old tarball if it is an upgrade.