Skip to content

Commit bfd979a

Browse files
committed
update build tools
1 parent e694b69 commit bfd979a

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

.github/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function repair_wheel {
1313
cd ./io
1414

1515
# Compile wheels
16-
for PYBIN in /opt/python/cp3[6-8]*/bin; do
16+
for PYBIN in /opt/python/cp3[6-10]*/bin; do
1717
"${PYBIN}/pip" install .
1818
"${PYBIN}/pip" install pytest
1919
"${PYBIN}/pip" wheel /io/ --no-deps -w wheelhouse/

.github/workflows/python-publish.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,28 @@ on:
1010

1111
jobs:
1212
deploy:
13-
1413
runs-on: ${{ matrix.os }}
1514
strategy:
1615
max-parallel: 2
1716
matrix:
1817
os: [macos-latest, windows-latest]
19-
python-version: [3.6, 3.7, 3.8, 3.9]
18+
python-version: [3.7, 3.8, 3.9, "3.10"]
2019

2120
steps:
22-
- uses: actions/checkout@v2
23-
- name: Set up Python
24-
uses: actions/setup-python@v2
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install -U setuptools wheel twine
31-
- name: Build and publish
32-
env:
33-
TWINE_USERNAME: __token__
34-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
35-
run: |
36-
python setup.py sdist bdist_wheel
37-
ls ./dist/*.whl
38-
twine upload dist/*.whl
21+
- uses: actions/checkout@v2
22+
- name: Set up Python
23+
uses: actions/setup-python@v2
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install -U setuptools wheel twine
30+
- name: Build and publish
31+
env:
32+
TWINE_USERNAME: __token__
33+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
34+
run: |
35+
python setup.py sdist bdist_wheel
36+
ls ./dist/*.whl
37+
twine upload dist/*.whl

0 commit comments

Comments
 (0)