Skip to content

Commit 7fef7c2

Browse files
committed
💚 Fix pip install
1 parent 08e4f60 commit 7fef7c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xmake_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None):
5050
os.mkdir(dist_info)
5151

5252
with open(osp.join(dist_info, 'WHEEL'), 'w', encoding='utf-8') as f:
53-
_write_wheel_file(f, supports_py2=metadata.supports_py2)
53+
_write_wheel_file(f)
5454

5555
with open(osp.join(dist_info, 'METADATA'), 'w', encoding='utf-8') as f:
5656
metadata.write_metadata_file(f)

src/xmake_python/wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Root-Is-Purelib: %s
3131
""".format(version=__version__)
3232

33-
def _write_wheel_file(f, tag, root_is_purelib):
33+
def _write_wheel_file(f, tag="py3-none-any", root_is_purelib=True):
3434
f.write(wheel_file_template % ('true' if root_is_purelib else 'false'))
3535
f.write(f"Tag: {tag}\n")
3636

0 commit comments

Comments
 (0)