From 557bd96650f192cae34abf70e129362900864716 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Wed, 23 Dec 2020 22:43:45 -0500 Subject: [PATCH] Add py.typed file for PEP 561 --- CHANGELOG.md | 5 +++++ jetforce/py.typed | 0 setup.py | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 jetforce/py.typed diff --git a/CHANGELOG.md b/CHANGELOG.md index cb8e651..e05c55b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ - Added support for international domain names using IDN encoding. +#### Features + +- Added py.typed file to indicate that the jetforce python library has support + for type hints. + ### v0.7.0 (2020-12-06) #### Spec Changes diff --git a/jetforce/py.typed b/jetforce/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 7b829db..899956b 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ setuptools.setup( long_description=long_description(), long_description_content_type="text/markdown", packages=["jetforce", "jetforce.app"], + package_data={"jetforce": ["py.typed"]}, py_modules=["jetforce_client"], entry_points={ "console_scripts": [ @@ -44,4 +45,5 @@ setuptools.setup( "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", ], + zip_safe=False, )