Skip to content

Commit 0fb1922

Browse files
committed
include typing stubs in package, bump to 0.4.25
1 parent f8e5ca3 commit 0fb1922

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changes to 0.4.25:
22
- Support os.PathLike values in Magic.from_file and magic.from_file
3+
- Handle some versions of libmagic that return mime string without charset
4+
- Fix tests for file 5.41
5+
- Include typing stub in package
36

47
Changes to 0.4.24:
58
- Fix regression in library loading on some Alpine docker images.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ def read(file_name):
1818
author='Adam Hupp',
1919
author_email='[email protected]',
2020
url="http://github.com/ahupp/python-magic",
21-
version='0.4.24',
21+
version='0.4.25',
2222
long_description=read('README.md'),
2323
long_description_content_type='text/markdown',
2424
packages=['magic'],
2525
package_data={
26-
'magic': ['py.typed', '__init__.pyi'],
26+
'magic': ['py.typed', '*.pyi', '**/*.pyi'],
2727
},
2828
keywords="mime magic file",
2929
license="MIT",

0 commit comments

Comments
 (0)