소스 검색

Add sys.setrecursionlimit for Windows

Kentaro Wada 4 년 전
부모
커밋
b6625f3e5a
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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'],