Skip to content

Commit

Permalink
c extension is not required by default, so now it's not needed to che…
Browse files Browse the repository at this point in the history
…ck if c code exists
  • Loading branch information
Marco-Sulla committed Jan 1, 2024
1 parent 6ac6a2b commit 11d3511
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 @@ -213,7 +213,7 @@ def get_ext_module_1(optional):
)

if custom_arg is None:
if impl == "PyPy" or not c_src_path.exists():
if impl == "PyPy":
custom_arg = "py"
else:
custom_arg = "py" if pure_py else "c"
Expand Down

0 comments on commit 11d3511

Please sign in to comment.