From f8cb8a342e80f92581fccff7030a964a721e7beb Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Tue, 14 Nov 2023 18:10:24 -0700 Subject: [PATCH] Add py.typed --- packages/python/plotly/MANIFEST.in | 1 + packages/python/plotly/plotly/py.typed | 1 + packages/python/plotly/setup.py | 1 + 3 files changed, 3 insertions(+) create mode 100644 packages/python/plotly/plotly/py.typed diff --git a/packages/python/plotly/MANIFEST.in b/packages/python/plotly/MANIFEST.in index b890876fc2c..dca04758fd8 100644 --- a/packages/python/plotly/MANIFEST.in +++ b/packages/python/plotly/MANIFEST.in @@ -5,3 +5,4 @@ include plotly/_version.py include requires-install.txt include requires-express.txt include plotly/package_data/widgetbundle.js +include plotly/py.typed diff --git a/packages/python/plotly/plotly/py.typed b/packages/python/plotly/plotly/py.typed new file mode 100644 index 00000000000..b648ac92333 --- /dev/null +++ b/packages/python/plotly/plotly/py.typed @@ -0,0 +1 @@ +partial diff --git a/packages/python/plotly/setup.py b/packages/python/plotly/setup.py index 1b8b6a2159a..6bb579dd79f 100644 --- a/packages/python/plotly/setup.py +++ b/packages/python/plotly/setup.py @@ -554,6 +554,7 @@ def read_req_file(req_type): + validator_packages, package_data={ "plotly": [ + "py.typed", "package_data/*", "package_data/templates/*", "package_data/datasets/*",