diff --git a/dataretrieval/py.typed b/dataretrieval/py.typed new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/dataretrieval/py.typed @@ -0,0 +1 @@ + diff --git a/pyproject.toml b/pyproject.toml index e55dc81..692a01e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,9 @@ dynamic = ["version"] [tool.setuptools] packages = ["dataretrieval", "dataretrieval.codes"] +[tool.setuptools.package-data] +dataretrieval = ["py.typed"] + [project.optional-dependencies] test = [ "pytest > 5.0.0", diff --git a/setup.py b/setup.py index 6068493..fc1f76c 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,3 @@ from setuptools import setup -setup() +setup() \ No newline at end of file