diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e019ecf..9869c6c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,6 +116,8 @@ jobs: - name: Build wheels run: | + uname -m + python3 -c "import platform; print(platform.platform())" if [ ${{ matrix.os }} == "macos-14" ]; then export CIBW_ARCHS_MACOS="arm64 universal2" fi diff --git a/bindings/python/setup.py b/bindings/python/setup.py index fff5d6f..7d1e474 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -42,6 +42,7 @@ include_dirs=["edlib/include"], depends=["edlib/include/edlib.h"], language="c++", + compiler_directives={'language_level': '3'}, extra_compile_args=["-O3", "-std=c++11"])], cmdclass = cmdclass )