File tree 2 files changed +4
-2
lines changed 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "xmake_python"
6
6
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
7
7
[project ]
8
8
name = " xmake-python"
9
- version = " 0.0.10 "
9
+ version = " 0.0.11 "
10
10
description = " xmake Python build system (PEP 517)"
11
11
readme = " README.md"
12
12
# from typing import Self
Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ def wheel_filename(self):
126
126
root_is_purelib = False
127
127
if self .kind == 1 :
128
128
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" ]
130
132
tag = str (WheelTag .compute_best (archs , py_api , root_is_purelib = root_is_purelib ))
131
133
return '{}-{}.whl' .format (dist_name , tag )
132
134
You can’t perform that action at this time.
0 commit comments