Browse Source

Add sys.setrecursionlimit for Windows

Kentaro Wada 4 năm trước cách đây
mục cha
commit
b6625f3e5a
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      labelme.spec

+ 5 - 0
labelme.spec

@@ -1,6 +1,11 @@
 # -*- mode: python -*-
 # vim: ft=python
 
+import sys
+
+
+sys.setrecursionlimit(5000)  # required on Windows
+
 
 a = Analysis(
     ['labelme/__main__.py'],