From 245cdd3aa3b1eaaf7df1e9591c184fa476e48d18 Mon Sep 17 00:00:00 2001 From: vtexier <vit@free.fr> Date: Wed, 12 Jun 2019 18:15:44 +0200 Subject: [PATCH] [enh] #96 support PEP 561 for duniterpy type hints to be recognized by mypy when imported --- duniterpy/py.typed | 0 setup.py | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 duniterpy/py.typed diff --git a/duniterpy/py.typed b/duniterpy/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/setup.py b/setup.py index ce1b7ea5..c0f8ac4c 100644 --- a/setup.py +++ b/setup.py @@ -49,11 +49,13 @@ setup( packages=find_packages(), - author="inso, canercanda, s_b, vit", + package_data={"duniterpy": ["py.typed"]}, + + author="inso, canercanda, s_b, vit, Moul", author_email="insomniak.fr@gmail.com", - description="A python implementation of [duniter](https://git.duniter.org/nodes/typescript/duniter) API", + description="A python library for [duniter](https://git.duniter.org/nodes/typescript/duniter) client developers", long_description=open('README.rst').read(), -- GitLab