Fix package description in announce mail
Originally 'python setup.py --description' was used, and we replaced it to the 'description' field of importlib's metadata, but that is actually the long description ('python setup.py --long-description'). To get the previously used 'description', the 'summary' field have to be used. Change-Id: I6120255dcbd9ed16c6d4fabb85f6aaad12ab01b5
This commit is contained in:
parent
fee020116b
commit
431ce7005f
@ -179,7 +179,7 @@ python -c "import importlib.metadata; print(importlib.metadata.metadata('${modif
|
||||
exit_code=$?
|
||||
if [ ${exit_code} -eq 0 ] ; then
|
||||
project_name=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Name'])")
|
||||
description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Description'])")
|
||||
description=$(python -c "import importlib.metadata; print(importlib.metadata.metadata('${modified_shortname}')['Summary'])")
|
||||
else
|
||||
# As a last resort, guess that the project name may be the same as that
|
||||
# of the local working directory at the point this script is invoked.
|
||||
|
Loading…
x
Reference in New Issue
Block a user