From 283124bf92585145ec77760f8e9f87f0be5c238a Mon Sep 17 00:00:00 2001 From: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:21:51 -0600 Subject: [PATCH 1/2] Add py.typed to pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index a276f113..cdd11e19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ dynamic = ["version"] [tool.setuptools] packages = ["dataretrieval", "dataretrieval.codes"] +package-data.dataretrieval = ["py.typed"] [project.optional-dependencies] test = [ From 7a5f12c88f8b4a507d78a9293a765d9780f0cb87 Mon Sep 17 00:00:00 2001 From: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:23:48 -0600 Subject: [PATCH 2/2] Remove py.typed from setup.py --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3630daf3..60684932 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,3 @@ from setuptools import setup -setup( - package_data={"dataretrieval": ["py.typed"]} -) \ No newline at end of file +setup()