From 965ef7e9fcb13ab8a512cd6f462b5628649c1eda Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Tue, 11 Jun 2024 09:25:09 -0500 Subject: [PATCH] Make that the build command. --- .github/workflows/tests.yml | 8 ++++---- scripts/releases/make-manylinux | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0447746..062d398 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -107,14 +107,14 @@ jobs: - name: Install Build Dependencies run: | pip install -U pip - pip install -U setuptools wheel twine - pip install -U 'cython>=3.0b3' + pip install -U setuptools wheel twine build + pip install -U 'cython>=3.0.10' pip install -U coverage - name: Install perfmetrics (non-Mac) if: ${{ ! startsWith(runner.os, 'Mac') }} run: | - python setup.py bdist_wheel + python -m build python -m pip install -U -e ".[test,docs]" env: # Ensure we test with assertions enabled. @@ -127,7 +127,7 @@ jobs: - name: Install perfmetrics (Mac) if: startsWith(runner.os, 'Mac') run: | - python setup.py bdist_wheel + python -m build python -m pip install -U -e ".[test,docs]" env: # Unlike the above, we are actually distributing these diff --git a/scripts/releases/make-manylinux b/scripts/releases/make-manylinux index f4a1f11..cf10ab4 100755 --- a/scripts/releases/make-manylinux +++ b/scripts/releases/make-manylinux @@ -29,11 +29,11 @@ if [ -d /io -a -d /opt/python ]; then git clone /io io cd io $variant/bin/pip install -U pip - $variant/bin/pip install -U 'cython>=3.0.10' setuptools wheel - PATH=$variant/bin:$PATH $variant/bin/python -m pip wheel --wheel-dir ./dist . - auditwheel show dist/*.whl - auditwheel repair dist/*.whl - cp wheelhouse/*.whl /io/wheelhouse + $variant/bin/pip install -U 'cython>=3.0.10' setuptools build wheel + PATH=$variant/bin:$PATH $variant/bin/python -m pip build --wheel + auditwheel show dist/perfmetrics*.whl + auditwheel repair dist/perfmetrics*.whl + cp wheelhouse/perfmetrics*.whl /io/wheelhouse cd /io rm -rf /tmp/build done