File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "xmake_python"
66# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
77[project ]
88name = " xmake-python"
9- version = " 0.0.10 "
9+ version = " 0.0.11 "
1010description = " xmake Python build system (PEP 517)"
1111readme = " README.md"
1212# from typing import Self
Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ def wheel_filename(self):
126126 root_is_purelib = False
127127 if self .kind == 1 :
128128 py_api = ('py2.' if self .metadata .supports_py2 else '' ) + 'py3'
129- archs = [sysconfig .get_platform ().split ("-" )[- 1 ]]
129+ archs = []
130+ if sysconfig .get_platform ().split ("-" )[- 1 ] == "universal2" :
131+ archs = ["universal2" ]
130132 tag = str (WheelTag .compute_best (archs , py_api , root_is_purelib = root_is_purelib ))
131133 return '{}-{}.whl' .format (dist_name , tag )
132134
You can’t perform that action at this time.
0 commit comments