aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r--python/mach_bootstrap.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py
index f6f6b976f08..a857889b84a 100644
--- a/python/mach_bootstrap.py
+++ b/python/mach_bootstrap.py
@@ -211,7 +211,7 @@ def _ensure_case_insensitive_if_windows():
def _is_windows():
- return sys.platform == 'win32' or sys.platform == 'msys'
+ return sys.platform == 'win32'
def bootstrap(topdir):
@@ -235,15 +235,6 @@ def bootstrap(topdir):
print('Current path:', topdir)
sys.exit(1)
- # We don't support MinGW Python
- if os.path.join(os.sep, 'mingw64', 'bin') in sys.executable:
- print('Cannot run mach with MinGW or MSYS Python.')
- print('\nPlease add the path to Windows Python (usually /c/Python27) to your path.')
- print('You can do this by appending the line:')
- print(' export PATH=/c/Python27:$PATH')
- print('to your ~/.profile.')
- sys.exit(1)
-
# Ensure we are running Python 2.7+. We put this check here so we generate a
# user-friendly error message rather than a cryptic stack trace on module import.
if not (3, 0) > sys.version_info >= (2, 7):