We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9adf738 + 1313784 commit 616deb1Copy full SHA for 616deb1
garlicsim/garlicsim/bootstrap/bootstrap.py
@@ -22,6 +22,7 @@
22
23
24
frozen = getattr(sys, 'frozen', None)
25
+is_pypy = ('__pypy__' in sys.builtin_module_names)
26
27
28
def __check_prerequisites():
@@ -69,7 +70,7 @@ def check_distribute():
69
70
return []
71
72
def check_pywin32():
- if not sys.platform == 'win32':
73
+ if not sys.platform == 'win32' or is_pypy: # todo: should check CPython
74
75
try:
76
import win32api
run_gui.py
@@ -5,7 +5,7 @@
5
6
'''A little module to start the `garlicsim_wx` GUI without installing it.'''
7
8
-import sys
+import sys
9
import os.path
10
11
@@ -40,4 +40,4 @@ def start():
40
41
42
if __name__ == '__main__':
43
- start()
+ start()
0 commit comments