comparison setup.py @ 621:398860bc3b7b

Fix OSX and Windows build, by renaming a forgotten variable.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 02 Apr 2015 17:41:17 +0200
parents 39874a722b76
children 13789ac717c4
comparison
equal deleted inserted replaced
620:e5361b74b9ad 621:398860bc3b7b
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': extension_names + ['glob', 'socket', 'select']}}, 163 extra = {'options': {'build_exe': {'includes': 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__))