File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
1818 echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
1919 brew update
2020 brew install python gcc libxml2 libxmlsec1 pkg-config
21- pip3 install --upgrade setuptools wheel
21+ pip3 install --upgrade setuptools wheel build
2222 ln -s $(brew --prefix)/bin/gcc-11 $(brew --prefix)/bin/gcc-5
2323 - name : Build linux_x86_64 wheel
2424 run : |
25- python3 setup.py bdist_wheel
25+ python3 -m build
2626 rm -rf build/
2727 - name : Install test dependencies
2828 run : |
Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ jobs:
1414 python-version : ${{ matrix.python }}
1515 - name : Install build dependencies
1616 run : |
17- pip install --upgrade pip setuptools wheel
17+ pip install --upgrade pip setuptools wheel build
1818 brew install libxml2 libxmlsec1 pkg-config
1919 - name : Build macosx_x86_64 wheel
2020 env :
2121 CC : clang
2222 CFLAGS : " -fprofile-instr-generate -fcoverage-mapping"
2323 LDFLAGS : " -fprofile-instr-generate -fcoverage-mapping"
2424 run : |
25- python setup.py bdist_wheel
25+ python -m build
2626 rm -rf build/
2727 - name : Set environment variables
2828 shell : bash
Original file line number Diff line number Diff line change 1111 - uses : actions/checkout@v1
1212 - name : Install build dependencies
1313 run : |
14- /opt/python/${{ matrix.python-abi }}/bin/pip install --upgrade pip setuptools wheel
14+ /opt/python/${{ matrix.python-abi }}/bin/pip install --upgrade pip setuptools wheel build
1515 - name : Set environment variables
1616 shell : bash
1717 run : |
2222 # disable libxml2-2.9.12 because of https://gitlab.gnome.org/GNOME/libxslt/-/issues/52
2323 PYXMLSEC_LIBXML2_VERSION : 2.9.10
2424 run : |
25- /opt/python/${{ matrix.python-abi }}/bin/python setup.py bdist_wheel
25+ /opt/python/${{ matrix.python-abi }}/bin/python -m build
2626 - name : Label manylinux2010_x86_64 wheel
2727 run : |
2828 ls -la dist/
You can’t perform that action at this time.
0 commit comments