Drop support for gswin32c / 32-bit Ghostscript for Windows

This commit is contained in:
James R. Barlow
2023-09-21 00:05:39 -07:00
parent 2637e84691
commit 6c78076bea
+2 -11
View File
@@ -30,18 +30,9 @@ except AttributeError:
log = logging.getLogger(__name__)
# Most reliable way to get the bitness of Python interpreter, according to Python docs
_IS_64BIT = sys.maxsize > 2**32
_GSWIN = None
if os.name == 'nt':
if _IS_64BIT:
_GSWIN = 'gswin64c'
else:
_GSWIN = 'gswin32c'
GS = _GSWIN if _GSWIN else 'gs'
del _GSWIN
# Ghostscript executable - gswin32c is not supported
GS = 'gswin64c' if os.name == 'nt' else 'gs'
def version():