From f7cc002f9dfd899153f194709329006251207ba6 Mon Sep 17 00:00:00 2001 From: Jan Schulz Date: Tue, 2 Feb 2016 00:49:35 +0100 Subject: [PATCH] Win: add mgs as a name for ghostscript executable mgs.exe is available in miktext and is: MiKTeX GPL Ghostscript 9.05 (2012-02-08) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. --- lib/matplotlib/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index df6c0c1ffa16..0ec45dcee356 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -351,7 +351,8 @@ def checkdep_dvipng(): def checkdep_ghostscript(): if sys.platform == 'win32': - gs_execs = ['gswin32c', 'gswin64c', 'gs'] + # mgs is the name in miktex + gs_execs = ['gswin32c', 'gswin64c', 'mgs', 'gs'] else: gs_execs = ['gs'] for gs_exec in gs_execs: