The py2exe worked quite well on the same py file several months ago. But when I tried it again today it failed by reporting a “RuntimeError: maximum recursion depth exceeded
I'd try to increase recursion depth limit. Insert at the beginning of your file:
import sys sys.setrecursionlimit(5000)