From a67678c46bb23254b1fdaedd4dc45b01dc32bfda Mon Sep 17 00:00:00 2001 From: Andrey Semakin Date: Mon, 4 Nov 2019 15:23:28 +0500 Subject: [PATCH 1/2] Add py.typed marker file for PEP 561 compliance --- rsa/py.typed | 1 + 1 file changed, 1 insertion(+) create mode 100644 rsa/py.typed diff --git a/rsa/py.typed b/rsa/py.typed new file mode 100644 index 0000000..6c27071 --- /dev/null +++ b/rsa/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. The rsa package uses inline types. From a58be8e9c1308713bedfa5a8f37efe3ac10427a0 Mon Sep 17 00:00:00 2001 From: Andrey Semakin Date: Thu, 7 Nov 2019 11:20:24 +0500 Subject: [PATCH 2/2] Add a line to CHANGELOG about PEP 561 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f67b84..a1b9248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ - Added type annotations to the source code. This will make Python-RSA easier to use in your IDE, and allows better type checking. - Added static type checking via [MyPy](http://mypy-lang.org/). +- Added marker file for PEP 561. This will allow type checking tools in dependent projects + to use type annotations from Python-RSA. - Fix [#129](https://github.com/sybrenstuvel/python-rsa/issues/129) Installing from source gives UnicodeDecodeError. - Switched to using [Poetry](https://poetry.eustace.io/) for package