diff --git a/.github/workflows/build-and-upload.yml b/.github/workflows/build-and-upload.yml index e8828aae9..d42a78e6e 100644 --- a/.github/workflows/build-and-upload.yml +++ b/.github/workflows/build-and-upload.yml @@ -31,10 +31,11 @@ jobs: strategy: matrix: python_version: ['3.7', '3.8', '3.9', '3.10'] - os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] +# os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + os: ['macos-latest'] include: - - os: ubuntu-latest - container: quay.io/pypa/manylinux_2_24_x86_64 # https://github.com/pypa/manylinux +# - os: ubuntu-latest +# container: quay.io/pypa/manylinux_2_24_x86_64 # https://github.com/pypa/manylinux - os: macos-latest python_version: 3.7 upload_source: true # just need ONE of them to do it diff --git a/setup.py b/setup.py index 937dfdf49..ee4513c3f 100755 --- a/setup.py +++ b/setup.py @@ -27,6 +27,8 @@ def clang_version(): def multiarch_args(): """Returns args requesting multi-architecture support, if applicable.""" # On MacOS we build "universal2" packages, for both x86_64 and arm64/M1 + print(f"sys.platform={sys.platform}") + print(f"sysconfig.get_platform()={sysconfig.get_platform()}") if sys.platform == 'darwin' and 'universal2' in sysconfig.get_platform(): args = ['-arch', 'x86_64'] # ARM support was added in XCode 12, which requires MacOS 10.15.4