Skip to content

Commit

Permalink
Make that the build command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jun 11, 2024
1 parent 142a839 commit 965ef7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions scripts/releases/make-manylinux
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 965ef7e

Please # to comment.