mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 05:45:33 +00:00
![Ray Kraesig](/assets/img/avatar_default.png)
As of bug 1838763, Python virtualenvs are now located in a subdirectory of `$MOZBUILD_STATE_PATH`. This, in turn, defaults to a subdirectory of the home directory, which on Windows often contains spaces. The Windows build instructions were updated to add a requirement that `MOZBUILD_STATE_PATH` not contain spaces, under the assumption that this was merely a clarification of an existing restriction; but this is indeed a new requirement and breaks existing setups. Instead, allow makefiles to safely invoke `$(PYTHON3)` without quoting it everywhere (as they do) by ensuring that its value contains no spaces, by using the DOS-style (8.3) short path to the Python executable. Additionally, clarify in the documentation exactly which paths are required not to contain spaces. Differential Revision: https://phabricator.services.mozilla.com/D183305