Skip to content

Commit 57c91f2

Browse files
committed
Merge branch 'master' of github.com:MeteoSwiss/pyart
2 parents fb5c98d + c377a6b commit 57c91f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+104060
-106149
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
1-
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1+
name: Build and publish to PyPI
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
8-
build-n-publish:
9-
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
8+
build:
9+
name: Build wheels for all supported Python versions
1010
runs-on: ubuntu-latest
11-
11+
1212
steps:
13-
- uses: actions/checkout@master
14-
- name: Set up Python 3.10
15-
uses: actions/setup-python@v3
16-
with:
17-
python-version: "3.10"
18-
19-
- name: Install pypa/build
20-
run: python -m pip install build --user
21-
22-
- name: Build a binary wheel and a source tarball
23-
run:
24-
python -m build --sdist --outdir dist/
25-
26-
- name: Publish distribution 📦 to PyPI
27-
if: startsWith(github.ref, 'refs/tags')
28-
uses: pypa/gh-action-pypi-publish@release/v1
29-
with:
30-
password: ${{ secrets.PYPI_API_TOKEN }}
13+
- uses: actions/checkout@v3
14+
15+
- name: Set up Python (for pip/cibuildwheel)
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.10"
19+
20+
- name: Install build dependencies
21+
run: python -m pip install build cibuildwheel
22+
23+
- name: Build sdist
24+
run: python -m build --sdist --outdir dist
25+
26+
- name: Build wheels with cibuildwheel
27+
run: python -m cibuildwheel --output-dir dist
28+
env:
29+
CIBW_SKIP: "cp27-* cp36-* cp37-* cp38-* cp39-* pp*"
30+
31+
- name: Publish to PyPI
32+
if: startsWith(github.ref, 'refs/tags')
33+
uses: pypa/gh-action-pypi-publish@release/v1
34+
with:
35+
password: ${{ secrets.PYPI_API_TOKEN }}

doc/source/notebook-gallery.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ Notebook Gallery
1212
notebooks/masking_data_with_gatefilters.ipynb
1313
notebooks/the_pyart_radar_object_and_indexing.ipynb
1414
notebooks/read_mch_metranet_data.ipynb
15+
notebooks/process_spectral_data.ipynb
1516
notebooks/swiss_thunderstorm.ipynb
1617
notebooks/swiss_doppler.ipynb

doc/source/notebooks/process_spectral_data.ipynb

Lines changed: 306 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)