Mercurial > touhou
comparison setup.py @ 786:7e940ebeb5fd
Replace SDL2_image with the image crate
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Mon, 01 Dec 2025 17:05:48 +0100 |
| parents | ec1e06402a97 |
| children |
comparison
equal
deleted
inserted
replaced
| 785:f73e8524c045 | 786:7e940ebeb5fd |
|---|---|
| 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_ttf'] | 20 SDL_LIBRARIES = ['sdl2', '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. |
| 65 | 65 |
| 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', | |
| 71 'SDL2_ttf': '-lSDL2_ttf', | 70 'SDL2_ttf': '-lSDL2_ttf', |
| 72 'epoxy': '-lepoxy' | 71 'epoxy': '-lepoxy' |
| 73 } | 72 } |
| 74 | 73 |
| 75 | 74 |
