Mercurial > touhou
comparison setup.py @ 626:13789ac717c4
Fix (again…) the OSX and Win32 build.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 09 Apr 2015 12:06:44 +0200 |
parents | 398860bc3b7b |
children | 26d9d251f658 |
comparison
equal
deleted
inserted
replaced
625:3168e5ff22dc | 626:13789ac717c4 |
---|---|
158 except ImportError: | 158 except ImportError: |
159 extra = {} | 159 extra = {} |
160 else: | 160 else: |
161 nthreads = None # It seems Windows can’t compile in parallel. | 161 nthreads = None # It seems Windows can’t compile in parallel. |
162 base = 'Win32GUI' if sys.platform == 'win32' else None | 162 base = 'Win32GUI' if sys.platform == 'win32' else None |
163 extra = {'options': {'build_exe': {'includes': ext_modules + ['glob', 'socket', 'select']}}, | 163 extra = {'options': {'build_exe': {'includes': [mod.name for mod in ext_modules] + ['glob', 'socket', 'select']}}, |
164 'executables': [Executable(script='scripts/pytouhou', base=base)]} | 164 'executables': [Executable(script='scripts/pytouhou', base=base)]} |
165 | 165 |
166 | 166 |
167 # Create a link to the data files (for packaging purposes) | 167 # Create a link to the data files (for packaging purposes) |
168 current_dir = os.path.dirname(os.path.realpath(__file__)) | 168 current_dir = os.path.dirname(os.path.realpath(__file__)) |