From 3b87b0dd73ffd257010fe93a2275dc4a26c25345 Mon Sep 17 00:00:00 2001 From: Sushain Cherivirala Date: Wed, 9 May 2018 14:06:33 -0500 Subject: [PATCH] Add py.typed and minor typo fix --- MANIFEST.in | 3 ++- py.typed | 0 setup.py | 3 +++ streamparser.py | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 py.typed diff --git a/MANIFEST.in b/MANIFEST.in index 74215c3..e524258 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ +include LICENSE +include py.typed include README.md -include LICENSE \ No newline at end of file diff --git a/py.typed b/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index b39ce42..c0668dd 100644 --- a/setup.py +++ b/setup.py @@ -32,5 +32,8 @@ entry_points={ 'console_scripts': ['apertium-streamparser=streamparser:main'], }, + package_data={ + 'streamparser': ['py.typed'], + }, py_modules=['streamparser'], ) diff --git a/streamparser.py b/streamparser.py index f7f28af..ea9ffac 100755 --- a/streamparser.py +++ b/streamparser.py @@ -15,7 +15,7 @@ __credits__ = ['Sushain K. Cherivirala', 'Kevin Brubeck Unhammer'] __license__ = 'GPLv3+' __status__ = 'Production' -__version__ = '5.0.2' +__version__ = '5.0.3' import fileinput import functools