diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-07-07 18:49:26 +0200 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-07-07 18:49:26 +0200 |
commit | 1d77cfc704422ac16a6e8aa5ea0668e901d35000 (patch) | |
tree | 232f375ace1ebc547250ec14a73ca37b2fa88f82 | |
parent | 30ee723e7b90d6e07368e08bb0c00cc46bd48976 (diff) | |
download | logilab-common-1d77cfc704422ac16a6e8aa5ea0668e901d35000.tar.gz |
type: declare that logilab-common ship type annotations
-rw-r--r-- | MANIFEST.in | 1 | ||||
-rw-r--r-- | logilab/common/py.typed | 0 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 3 insertions, 0 deletions
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 --- /dev/null +++ b/logilab/common/py.typed @@ -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"], |