Skip to content

Commit 0684558

Browse files
committed
🩹 Fix wrong wheel kind
1 parent 0e556ad commit 0684558

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "xmake_python"
66
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
77
[project]
88
name = "xmake-python"
9-
version = "0.1.6"
9+
version = "0.1.7"
1010
description = "xmake Python build system (PEP 517)"
1111
readme = "README.md"
1212
# from typing import Self

src/xmake_python/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def show(self):
9090
return 1
9191
with open(makefile) as f:
9292
text = f.read()
93-
if text.find(".c") == -1:
93+
if text.find(".c") == -1 and text.find(".h") == -1:
9494
return 0
9595
if text.find("pkg-config --cflags python") == -1:
9696
return 1

0 commit comments

Comments
 (0)