From 22026dd1e43c7a87830d01210d6a2ffd674a1dc1 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Fri, 16 Aug 2024 01:05:03 -0500 Subject: [PATCH] Increase verbosity --- .github/workflows/python-publish-release.yml | 1 + bindings/python/setup.py | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish-release.yml b/.github/workflows/python-publish-release.yml index d6f2053b39..ed5cd43318 100644 --- a/.github/workflows/python-publish-release.yml +++ b/.github/workflows/python-publish-release.yml @@ -29,6 +29,7 @@ jobs: CIBW_ARCHS_LINUX: "x86_64 i686 aarch64" # ppc64le s390x really slow CIBW_ARCHS_WINDOWS: "AMD64" # ARM64 Seems ARM64 will rebuild amd64 wheel for unknow reason. CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*" + CIBW_BUILD_VERBOSITY: 1 CIBW_SKIP: "" with: package-dir: bindings/python diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 50426bd6a8..89db4f9ead 100755 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -203,13 +203,17 @@ def run(self): print("Proper 'develop' support unavailable.") if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv: + # Platform tags are described here: + # https://packaging.python.org/en/latest/specifications/platform-compatibility-tags idx = sys.argv.index('bdist_wheel') + 1 sys.argv.insert(idx, '--plat-name') name = get_platform() - pyversion = platform.python_version() - major_version, minor_version = map(int, pyversion.split('.')[:2]) - sys.argv.insert(idx + 1, name.replace('.', '_').replace('-', '_') + "_" + str(major_version) + str(minor_version)) + sys.argv.insert(idx + 1, name.replace('.', '_').replace('-', '_')) + print("\n###########################") + print(sys.argv) + print("###########################\n") +# exit(0) setup( provides=['capstone'], packages=['capstone'],