aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 0ea03bb9a..7e06c3ddc 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -883,13 +883,6 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
if run_process(cmd_make) != 0:
raise SetupError(f"Error compiling {extension}")
- if sys.version_info == (3, 6) and sys.platform == "darwin":
- # Python 3.6 has a Sphinx problem because of docutils 0.17 .
- # Instead of pinning v0.16, setting the default encoding fixes that.
- # Since other platforms are not affected, we restrict this to macOS.
- if "UTF-8" not in os.environ.get("LC_ALL", ""):
- os.environ["LC_ALL"] = "en_US.UTF-8"
-
if OPTION["BUILD_DOCS"]:
if extension.lower() == SHIBOKEN:
found = importlib.util.find_spec("sphinx")