Skip to content

Commit eb5b807

Browse files
authored
Merge pull request #87 from csiro-coasts/py.typed
Add py.typed file
2 parents dc9812c + 58cd411 commit eb5b807

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
with:
2727
python-version: ${{ env.python-version }}
2828

29+
- name: "Check py.typed file is included in wheel"
30+
shell: bash -l {0}
31+
run: unzip -l dist/*.whl | grep -q py.typed
32+
2933
test:
3034
runs-on: ubuntu-latest
3135
timeout-minutes: 10

docs/releases/development.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ Next release (in development)
1212
* Add :attr:`.Convention.bounds` and :attr:`.Convention.geometry` attributes (:pr:`83`).
1313
* Fix a number of numpy warnings about unsafe casts (:pr:`85`).
1414
* Follow CF Conventions properly when finding latitude / longitude coordinate variables (:issue:`84`, :pr:`86`)
15+
* Include a ``py.typed`` file in built packages (:issue:`80`, :pr:`87`).

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ install_requires =
3535
where = src
3636
include = emsarray*
3737

38+
[options.package_data]
39+
emsarray = py.typed
40+
3841
[options.extras_require]
3942
plot =
4043
cartopy >=0.21.1

src/emsarray/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)