Skip to content

Commit 7298d3b

Browse files
Add py.typed (#186)
* Add py.typed #111 * Add py.typed to pyproject.toml * Update setup.py Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com> --------- Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
1 parent 98f4ddd commit 7298d3b

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

dataretrieval/py.typed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ dynamic = ["version"]
2727
[tool.setuptools]
2828
packages = ["dataretrieval", "dataretrieval.codes"]
2929

30+
[tool.setuptools.package-data]
31+
dataretrieval = ["py.typed"]
32+
3033
[project.optional-dependencies]
3134
test = [
3235
"pytest > 5.0.0",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from setuptools import setup
22

3-
setup()
3+
setup()

0 commit comments

Comments
 (0)