From 40500a2b618d2f5f955f3e29596bf04f15e6e433 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Fri, 11 Jan 2019 12:10:33 +0100 Subject: Fix wrong METADATA for generated wheels For the 5.12.0 release, we noticed that a couple of strings in the wheel METADATA were not properly formed. The first case was the type of the description content: 'text/markdown', got interpreted as a tuple ('text/markdown',), which was not recognize as a valid format. The second issue was the summary. It was a two-line string: ('Python bindings ... ', '....') which got wrongly parsed, and we ended up missing some title information, and even getting the parenthesis on the description. Change-Id: I2f3e8b23e3d9a39355e6eb30ab79f581bde33d30 Fixes: PYSIDE-874 Task-number: QTQAINFRA-2455 Reviewed-by: Friedemann Kleint --- build_scripts/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build_scripts/config.py') diff --git a/build_scripts/config.py b/build_scripts/config.py index f47230a6d..8356be302 100644 --- a/build_scripts/config.py +++ b/build_scripts/config.py @@ -125,7 +125,7 @@ class Config(object): setup_kwargs = {} setup_kwargs['long_description'] = self.get_long_description() - setup_kwargs['long_description_content_type'] = 'text/markdown', + setup_kwargs['long_description_content_type'] = 'text/markdown' setup_kwargs['keywords'] = 'Qt' setup_kwargs['author'] = 'Qt for Python Team' setup_kwargs['author_email'] = 'pyside@qt-project.org' @@ -207,8 +207,7 @@ class Config(object): elif self.internal_build_type == self.pyside_option_name: setup_kwargs['name'] = self.pyside_st_name - setup_kwargs['description'] = ("Python bindings for the Qt cross-platform application" - " and UI framework"), + setup_kwargs['description'] = "Python bindings for the Qt cross-platform application and UI framework" setup_kwargs['install_requires'] = [self.shiboken_module_st_name] setup_kwargs['entry_points'] = { 'console_scripts': [ -- cgit v1.2.3