summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2021-05-21 10:10:20 -0700
committerAdam Hupp <adam@hupp.org>2021-05-21 10:10:30 -0700
commit29450ec911b08dc2b128fa00cd95cf6ba27bccdc (patch)
tree1f58c51d613bf69c52e09a267836cb0f64fa9af9
parente6d7ee03c6935c54a83fa450607e57db04ec2bbe (diff)
downloadpython-magic-29450ec911b08dc2b128fa00cd95cf6ba27bccdc.tar.gz
add py.typed sentinal per https://www.python.org/dev/peps/pep-0561/#packaging-type-information
-rw-r--r--magic/py.typed0
-rw-r--r--setup.py1
2 files changed, 1 insertions, 0 deletions
diff --git a/magic/py.typed b/magic/py.typed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/magic/py.typed
diff --git a/setup.py b/setup.py
index 3b5489a..9da8466 100644
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,7 @@ setuptools.setup(
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=['magic'],
+ package_data=['py.typed'],
keywords="mime magic file",
license="MIT",
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',