# HG changeset patch # User Emmanuel Gil Peyrot # Date 1430825697 -7200 # Node ID 6c40f5840a065189747bbdee21a1c59ffed86216 # Parent 26d9d251f6585a40fc4581c20b169ee6d9bf68b9 Include all of the modules during cx_Freeze, and don’t prevent multi-threaded Cython compilation on non-Windows platforms. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -158,9 +158,11 @@ try: except ImportError: extra = {} else: - nthreads = None # It seems Windows can’t compile in parallel. - base = 'Win32GUI' if sys.platform == 'win32' else None - extra = {'options': {'build_exe': {'includes': [mod.name for mod in ext_modules] + ['glob', 'socket', 'select']}}, + base = None + if sys.platform == 'win32': + nthreads = None # It seems Windows can’t compile in parallel. + base = 'Win32GUI' + extra = {'options': {'build_exe': {'includes': [mod.name for mod in ext_modules] + py_modules}}, 'executables': [Executable(script='scripts/pytouhou', base=base)]}