Skip to content

Commit

Permalink
Add compiler in case that is a cython tool
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotrevisani committed Sep 20, 2023
1 parent fc40d52 commit d3e6e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grayskull/strategy/py_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,9 @@ def get_compilers(
for pkg in requires_dist:
pkg = RE_DEPS_NAME.match(pkg).group(0)
pkg = pkg.lower().strip()
if pkg.strip() in config.pkg_need_c_compiler:
if pkg.startswith("cython-") or pkg in config.pkg_need_c_compiler:
compilers.add("c")
if pkg.strip() in config.pkg_need_cxx_compiler:
if pkg in config.pkg_need_cxx_compiler:
compilers.add("cxx")
return list(compilers)

Expand Down

0 comments on commit d3e6e55

Please sign in to comment.