path: root/build_scripts/config.py
diff options
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-01-11 12:10:33 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-01-11 11:36:56 +0000
commit40500a2b618d2f5f955f3e29596bf04f15e6e433 (patch)
tree4b8520bd100a7d145ffc5907c9af5f78c1a47ad8 /build_scripts/config.py
parentd2f4891031a4a39a03582e6dbcd1da0d62f17c90 (diff)
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 <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/config.py')
1 files changed, 2 insertions, 3 deletions
diff --git a/build_scripts/config.py b/build_scripts/config.py
index f47230a6..8356be30 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': [