Skip to content

Commit 616deb1

Browse files
committed
Merge branch 'stable' into development
2 parents 9adf738 + 1313784 commit 616deb1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

garlicsim/garlicsim/bootstrap/bootstrap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323

2424
frozen = getattr(sys, 'frozen', None)
25+
is_pypy = ('__pypy__' in sys.builtin_module_names)
2526

2627

2728
def __check_prerequisites():
@@ -69,7 +70,7 @@ def check_distribute():
6970
return []
7071

7172
def check_pywin32():
72-
if not sys.platform == 'win32':
73+
if not sys.platform == 'win32' or is_pypy: # todo: should check CPython
7374
return []
7475
try:
7576
import win32api

run_gui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
'''A little module to start the `garlicsim_wx` GUI without installing it.'''
77

8-
import sys
8+
import sys
99
import os.path
1010

1111

@@ -40,4 +40,4 @@ def start():
4040

4141

4242
if __name__ == '__main__':
43-
start()
43+
start()

0 commit comments

Comments
 (0)