Add LICENSE to released python packages (#8913)

pull/8936/head
Paul Yang 2021-08-27 15:41:58 -07:00 committed by GitHub
parent de469720e9
commit 81771b9274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,5 @@ global-exclude *.dll
global-exclude *.pyc
global-exclude *.pyo
global-exclude *.so
include LICENSE

View File

@ -73,6 +73,9 @@ else
sed -i -r "s/__version__ = '.*'/__version__ = '${VERSION}.${DEV}'/" python/google/protobuf/__init__.py
fi
# Copy LICENSE
cp LICENSE python/LICENSE
cd python
# Run tests locally.