Mercurial > touhou
comparison setup.py @ 783:ec1e06402a97
Replace SDL2_mixer with the kira crate
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Fri, 21 Nov 2025 10:21:59 +0100 |
| parents | 317e93b7d586 |
| children | 7e940ebeb5fd |
comparison
equal
deleted
inserted
replaced
| 782:a30ce01b9154 | 783:ec1e06402a97 |
|---|---|
| 15 sys.exit(1) | 15 sys.exit(1) |
| 16 | 16 |
| 17 | 17 |
| 18 COMMAND = 'pkg-config' | 18 COMMAND = 'pkg-config' |
| 19 GLFW_LIBRARIES = ['glfw3'] | 19 GLFW_LIBRARIES = ['glfw3'] |
| 20 SDL_LIBRARIES = ['sdl2', 'SDL2_image', 'SDL2_mixer', 'SDL2_ttf'] | 20 SDL_LIBRARIES = ['sdl2', 'SDL2_image', 'SDL2_ttf'] |
| 21 GL_LIBRARIES = ['epoxy'] | 21 GL_LIBRARIES = ['epoxy'] |
| 22 | 22 |
| 23 debug = False # True to generate HTML annotations and display infered types. | 23 debug = False # True to generate HTML annotations and display infered types. |
| 24 anmviewer = False # It’s currently broken anyway. | 24 anmviewer = False # It’s currently broken anyway. |
| 25 nthreads = os.cpu_count() # How many processes to use for Cython compilation. | 25 nthreads = os.cpu_count() # How many processes to use for Cython compilation. |
| 66 | 66 |
| 67 default_libs = { | 67 default_libs = { |
| 68 'glfw3': '-lglfw', | 68 'glfw3': '-lglfw', |
| 69 'sdl2': '-lSDL2', | 69 'sdl2': '-lSDL2', |
| 70 'SDL2_image': '-lSDL2_image', | 70 'SDL2_image': '-lSDL2_image', |
| 71 'SDL2_mixer': '-lSDL2_mixer', | |
| 72 'SDL2_ttf': '-lSDL2_ttf', | 71 'SDL2_ttf': '-lSDL2_ttf', |
| 73 'epoxy': '-lepoxy' | 72 'epoxy': '-lepoxy' |
| 74 } | 73 } |
| 75 | 74 |
| 76 | 75 |
