Skip to content

Commit

Permalink
[Test] fix expected extension .pyd bare-c-module
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 13, 2023
1 parent 7d98e97 commit d634274
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def get_ext_suffix(name: str):
py_v = sys.version_info
ext_suffix = dist_sysconfig.get_config_var("EXT_SUFFIX")
assert isinstance(ext_suffix, str)
if name == "minimal" and ext_suffix.endswith(".pyd") and py_v < (3, 8):
simple = name in ["minimal", "bare-c-module"]
if simple and ext_suffix.endswith(".pyd") and py_v < (3, 8):
ext_suffix = ".pyd" # what a mess ...
if name == "nanobind-project":
if py_v < (3, 8):
Expand Down

0 comments on commit d634274

Please sign in to comment.