We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29862c9 commit 0c5bc64Copy full SHA for 0c5bc64
setup.py
@@ -575,6 +575,12 @@ def get_mupdf(path=None, sha=None):
575
darwin = sys.platform.startswith( 'darwin')
576
windows = platform.system() == 'Windows' or platform.system().startswith('CYGWIN')
577
msys2 = platform.system().startswith('MSYS_NT-')
578
+
579
+if os.environ.get('PYODIDE') == '1':
580
+ if os.environ.get('OS') != 'pyodide':
581
+ log('PYODIDE=1, setting OS=pyodide.')
582
+ os.environ['OS'] = 'pyodide'
583
584
pyodide = os.environ.get('OS') == 'pyodide'
585
586
0 commit comments