summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-22 22:49:55 +0800
committerGitHub <[email protected]>2025-08-22 22:49:55 +0800
commitc28b80c6c6ddb1ec816841d7104870869a9210b0 (patch)
tree99ee1246543045587c1a7eeb36be35f101b118a1
parent6c32c626c5f251728c26a5642e11c8c1943bd6b9 (diff)
parent761a024e72a2ff445758f677641a781df193838b (diff)
Merge pull request #6737 from Freed-Wu/cython
Add python stub file extension to cython rule
-rw-r--r--xmake/rules/python/cython/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/python/cython/xmake.lua b/xmake/rules/python/cython/xmake.lua
index 87ad1b669..b29c55c39 100644
--- a/xmake/rules/python/cython/xmake.lua
+++ b/xmake/rules/python/cython/xmake.lua
@@ -20,7 +20,7 @@
rule("python.cython")
add_deps("python.module")
- set_extensions(".py", ".pyx")
+ set_extensions(".py", ".pyx", ".pyi")
on_load(function (target)
local language = target:extraconf("rules", "python.cython", "language")