From 1d77cfc704422ac16a6e8aa5ea0668e901d35000 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 7 Jul 2020 18:49:26 +0200 Subject: type: declare that logilab-common ship type annotations --- MANIFEST.in | 1 + logilab/common/py.typed | 0 setup.py | 2 ++ 3 files changed, 3 insertions(+) create mode 100644 logilab/common/py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 3af9297..530b572 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,6 +7,7 @@ include bin/logilab-pytest.bat include test/data/ChangeLog include tox.ini include *.txt +include logilab/common/py.typed recursive-include test *.py *.txt *.msg *.ini *.zip *.egg recursive-include test/data/*_dir * recursive-include test/input *.py diff --git a/logilab/common/py.typed b/logilab/common/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index a577530..2108e40 100644 --- a/setup.py +++ b/setup.py @@ -47,6 +47,8 @@ setup( # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=pkginfo["classifiers"], packages=find_packages(exclude=["contrib", "docs", "test*"]), + package_data={"logilab.common": ["py.typed"]}, + include_package_data=True, namespace_packages=[pkginfo["subpackage_of"]], python_requires=">=3.6", install_requires=pkginfo["install_requires"], -- cgit v1.2.1