diff --git a/packages/python/plotly/MANIFEST.in b/packages/python/plotly/MANIFEST.in index b890876fc2..dca04758fd 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 0000000000..b648ac9233 --- /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 1b8b6a2159..6bb579dd79 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/*",