Skip to content

Commit 55180bb

Browse files
authored
Merge pull request #2546 from pygame-community/deprecate_cython_sprite
Remove and deprecate cythonised sprite module
2 parents d5a7f9b + 311be0c commit 55180bb

File tree

9 files changed

+37
-44441
lines changed

9 files changed

+37
-44441
lines changed

buildconfig/Setup.Android.SDL2.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ gfxdraw src_c/gfxdraw.c $(SDL) $(GFX) $(DEBUG)
3737
#or the configuration script will choke!)
3838
#_freetype src_c/freetype/ft_cache.c src_c/freetype/ft_wrap.c src_c/freetype/ft_render.c src_c/freetype/ft_render_cb.c src_c/freetype/ft_layout.c src_c/freetype/ft_unicode.c src_c/_freetype.c $(SDL) $(FREETYPE) $(DEBUG)
3939

40-
_sprite src_c/_sprite.c $(SDL) $(DEBUG)
4140

4241
#these modules are required for pygame to run. they only require
4342
#SDL as a dependency. these should not be altered

buildconfig/Setup.Emscripten.SDL2.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ _sdl2.mixer src_c/_sdl2/mixer.c $(SDL) $(MIXER) $(DEBUG) -Isrc_c
2525

2626
constants src_c/constants.c $(SDL) $(DEBUG)
2727
mask src_c/bitmask.c
28-
_sprite src_c/_sprite.c $(SDL) $(DEBUG)
2928
math src_c/math.c $(SDL) $(DEBUG)
3029

3130
#GFX = src_c/SDL_gfx/SDL_gfxBlitFunc.c src_c/SDL_gfx/SDL_gfxPrimitives.c

buildconfig/Setup.SDL2.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ gfxdraw src_c/gfxdraw.c $(SDL) $(GFX) $(DEBUG)
4747
#or the configuration script will choke!)
4848
_freetype src_c/freetype/ft_cache.c src_c/freetype/ft_wrap.c src_c/freetype/ft_render.c src_c/freetype/ft_render_cb.c src_c/freetype/ft_layout.c src_c/freetype/ft_unicode.c src_c/_freetype.c $(SDL) $(FREETYPE) $(DEBUG)
4949

50-
_sprite src_c/_sprite.c $(SDL) $(DEBUG)
5150

5251
#these modules are required for pygame to run. they only require
5352
#SDL as a dependency. these should not be altered

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def run_install_headers(self):
433433
if (
434434
"CI" in os.environ
435435
and not e.name.startswith("_sdl2")
436-
and e.name not in ("pypm", "_sprite", "gfxdraw")
436+
and e.name not in ("pypm", "gfxdraw")
437437
):
438438
# Do -Werror only on CI, and exclude -Werror on Cython C files and gfxdraw
439439
e.extra_compile_args.append("/WX" if sys.platform == "win32" else "-Werror")
@@ -833,7 +833,6 @@ def filter_files(path_obj, all_files, allowed_files, disallowed_files):
833833
"pypm.c",
834834
"**/sse2neon.h",
835835
"doc/**",
836-
"_sprite.c",
837836
]
838837
c_file_allow = ["_sdl2/touch.c"]
839838
c_files = filter_files(path_obj, c_files_unfiltered, c_file_allow, c_file_disallow)

0 commit comments

Comments
 (0)