diff options
author | Adam Hupp <adam@hupp.org> | 2021-02-16 20:01:28 -0800 |
---|---|---|
committer | Adam Hupp <adam@hupp.org> | 2021-02-16 20:01:28 -0800 |
commit | e0ccc6d0cbf7b17e8c7288297c717f3b3d499679 (patch) | |
tree | b7a6036a25ffd07a2df04e7dff369378a6d25c32 | |
parent | fc28c87e010eed27fce37615202280feebaa1fc0 (diff) | |
download | python-magic-e0ccc6d0cbf7b17e8c7288297c717f3b3d499679.tar.gz |
Fix yet another import error0.4.22
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.
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | magic/loader.py | 1 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -Changes to 0.4.21 +Changes to 0.4.21, 0.4.22 - Unify dll loader between the standard and compat library, fixing load failures on some previously supported platforms. diff --git a/magic/loader.py b/magic/loader.py index 6a47d52..6b2bfcb 100644 --- a/magic/loader.py +++ b/magic/loader.py @@ -1,5 +1,6 @@ import ctypes import sys +import glob def load_lib(): libmagic = None @@ -18,7 +18,7 @@ setuptools.setup( author='Adam Hupp', author_email='adam@hupp.org', url="http://github.com/ahupp/python-magic", - version='0.4.21', + version='0.4.22', long_description=read('README.md'), long_description_content_type='text/markdown', packages=['magic'], |