Skip to content

Commit e0ccc6d

Browse files
committed
Fix yet another import error
Seems to hit windows, probably OSX. We have great test coverage across linux distros, not so much elsewhere. Tested on my windows box by manually installing the wheel file.
1 parent fc28c87 commit e0ccc6d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Changes to 0.4.21
1+
Changes to 0.4.21, 0.4.22
22

33
- Unify dll loader between the standard and compat library, fixing load
44
failures on some previously supported platforms.

magic/loader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import ctypes
22
import sys
3+
import glob
34

45
def load_lib():
56
libmagic = None

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def read(file_name):
1818
author='Adam Hupp',
1919
author_email='adam@hupp.org',
2020
url="http://github.com/ahupp/python-magic",
21-
version='0.4.21',
21+
version='0.4.22',
2222
long_description=read('README.md'),
2323
long_description_content_type='text/markdown',
2424
packages=['magic'],

0 commit comments

Comments
 (0)