From dc1a07b5d909092bded6136b18a35add2c50338e Mon Sep 17 00:00:00 2001 From: c4f3a0ce <30480807+c4f3a0ce@users.noreply.github.com> Date: Tue, 8 Oct 2019 01:24:24 +0200 Subject: [PATCH] Make package PEP 561 compatible --- pandas/py.typed | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pandas/py.typed diff --git a/pandas/py.typed b/pandas/py.typed new file mode 100644 index 0000000000000..b2589645afb9b --- /dev/null +++ b/pandas/py.typed @@ -0,0 +1,2 @@ +partial + diff --git a/setup.py b/setup.py index 7040147c2b741..62ba300905bab 100755 --- a/setup.py +++ b/setup.py @@ -808,7 +808,7 @@ def srcpath(name=None, suffix=".pyx", subdir="src"): maintainer=AUTHOR, version=versioneer.get_version(), packages=find_packages(include=["pandas", "pandas.*"]), - package_data={"": ["templates/*", "_libs/*.dll"]}, + package_data={"": ["templates/*", "_libs/*.dll", "py.typed"]}, ext_modules=maybe_cythonize(extensions, compiler_directives=directives), maintainer_email=EMAIL, description=DESCRIPTION,