From cd2541b1d39068e34a6507f9e01663d10f61e60a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 27 Oct 2021 16:14:08 -0700 Subject: add py.typed file so other libraries know there are type annotations --- grobid_tei_xml/py.typed | 0 setup.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 grobid_tei_xml/py.typed diff --git a/grobid_tei_xml/py.typed b/grobid_tei_xml/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index d9f1176..a5d95b7 100644 --- a/setup.py +++ b/setup.py @@ -52,13 +52,14 @@ with open("README.md", "r") as fh: long_description=long_description, long_description_content_type="text/markdown", url="https://gitlab.com/internetarchive/grobid_tei_xml", - packages=setuptools.find_packages(), classifiers=[ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], + packages=setuptools.find_packages(), + package_data={"grobid_tei_xml": ["py.typed"]}, python_requires=">=3.7", install_requires=[], extras_require={"dev": [ -- cgit v1.2.3