Skip to content

Commit

Permalink
Merge pull request #4233 from pygame/dont-cry-for-me-cython
Browse files Browse the repository at this point in the history
setup: Fix cython compilation for setup.py install
  • Loading branch information
illume committed May 18, 2024
2 parents fc4e3a5 + f142dfb commit 438b2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def consume_arg(name):
cython_only = True

# If there is no generated C code, compile the cython/.pyx files
if any(x in ["build_ext", "build", "sdist", "bdist_wheel"] for x in sys.argv) and (
if any(x in ["build_ext", "build", "sdist", "bdist_wheel", "install"] for x in sys.argv) and (
not glob.glob(os.path.join("src_c", "_sdl2", "audio.c"))
or not glob.glob(os.path.join("src_c", "pypm.c"))
):
Expand Down

0 comments on commit 438b2d5

Please sign in to comment.