diff --git a/news/5678.bugfix.rst b/news/5678.bugfix.rst new file mode 100644 index 0000000000..6d881cf004 --- /dev/null +++ b/news/5678.bugfix.rst @@ -0,0 +1,2 @@ +Fix installation issues stemming from unicode characters in +file paths. diff --git a/pyproject.toml b/pyproject.toml index 69877c3dfe..1c105502fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,3 +64,13 @@ directory = "build" name = "Bootloader build" showcontent = true + +[build-system] +# Tells pip to install wheel before trying to install PyInstaller +# from an sdist or from Github. +# Installing without wheel uses legacy `python setup.py install` +# which has issues with unicode paths. +requires = [ + "wheel", + "setuptools", +]