aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_utils.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2022-03-18 11:49:03 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2022-03-22 14:27:19 +0000
commita10efb90f048764527c1d26bc0362c6db8f4234e (patch)
treecb486768c8a6161f091bec2badb21c03b6539458 /build_scripts/wheel_utils.py
parent6f20389eecdd3148b44ede8cd179d324ba79cb4f (diff)
flake8: improve codestyling of build scripts
- Fixing f-strings - Fixing indentation of some lines - Removing unused variables and imports - Changing the way of verifying if sphinx is installed Change-Id: I3f361759682324c9b0c9d33c24583435f137f05a Pick-to: 6.2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/wheel_utils.py')
-rw-r--r--build_scripts/wheel_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/wheel_utils.py b/build_scripts/wheel_utils.py
index 6f42e004d..7f2249146 100644
--- a/build_scripts/wheel_utils.py
+++ b/build_scripts/wheel_utils.py
@@ -40,7 +40,7 @@
import os
import time
-from setuptools._distutils.errors import DistutilsError
+from setuptools._distutils.errors import DistutilsSetupError
from sysconfig import get_platform, get_config_var
from packaging.version import parse as parse_version