Mercurial > touhou
comparison setup.py @ 546:94dd9862c470
Rename the eosd script into pytouhou, and remove the obsolete pcb one.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 21 May 2014 20:52:42 +0200 |
parents | a09f6990eab4 |
children | 8f51e34d911c |
comparison
equal
deleted
inserted
replaced
545:bcff39c920ab | 546:94dd9862c470 |
---|---|
127 else: | 127 else: |
128 is_windows = True | 128 is_windows = True |
129 nthreads = None # It seems Windows can’t compile in parallel. | 129 nthreads = None # It seems Windows can’t compile in parallel. |
130 base = 'Win32GUI' if sys.platform == 'win32' else None | 130 base = 'Win32GUI' if sys.platform == 'win32' else None |
131 extra = {'options': {'build_exe': {'includes': extension_names + ['glob', 'socket', 'select']}}, | 131 extra = {'options': {'build_exe': {'includes': extension_names + ['glob', 'socket', 'select']}}, |
132 'executables': [Executable(script='eosd', base=base)]} | 132 'executables': [Executable(script='scripts/pytouhou', base=base)]} |
133 | 133 |
134 | 134 |
135 setup(name='PyTouhou', | 135 setup(name='PyTouhou', |
136 version='0.1', | 136 version='0.1', |
137 author='Thibaut Girka', | 137 author='Thibaut Girka', |
146 compile_time_env={'MAX_TEXTURES': 128, | 146 compile_time_env={'MAX_TEXTURES': 128, |
147 'MAX_ELEMENTS': 640 * 4 * 3, | 147 'MAX_ELEMENTS': 640 * 4 * 3, |
148 'MAX_SOUNDS': 26, | 148 'MAX_SOUNDS': 26, |
149 'USE_OPENGL': use_opengl, | 149 'USE_OPENGL': use_opengl, |
150 'USE_GLEW': is_windows}), | 150 'USE_GLEW': is_windows}), |
151 scripts=['eosd'] + (['anmviewer'] if anmviewer else []), | 151 scripts=['scripts/pytouhou'] + (['scripts/anmviewer'] if anmviewer else []), |
152 **extra) | 152 **extra) |