Mercurial > touhou
comparison setup.py @ 608:725bd24235a2
Make ANM0 pure-python again, by moving the Cython-dependent ANM class into its own module.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Nov 2014 14:00:17 +0100 |
parents | 9dbc234ea087 |
children | 39874a722b76 |
comparison
equal
deleted
inserted
replaced
607:9dbc234ea087 | 608:725bd24235a2 |
---|---|
120 if extension_name == 'pytouhou.lib.sdl': | 120 if extension_name == 'pytouhou.lib.sdl': |
121 compile_args = sdl_args | 121 compile_args = sdl_args |
122 elif extension_name == 'pytouhou.ui.anmrenderer' and not anmviewer: | 122 elif extension_name == 'pytouhou.ui.anmrenderer' and not anmviewer: |
123 extension_names.pop() | 123 extension_names.pop() |
124 continue | 124 continue |
125 elif package == 'pytouhou.formats' and extension_name != 'pytouhou.formats.anm0': | 125 elif package == 'pytouhou.formats' and extension_name != 'pytouhou.formats.animation': |
126 continue | 126 continue |
127 else: | 127 else: |
128 compile_args = package_args | 128 compile_args = package_args |
129 extensions.append(Extension(extension_name, | 129 extensions.append(Extension(extension_name, |
130 [os.path.join(directory, filename)], | 130 [os.path.join(directory, filename)], |