Skip to content

Commit 9357f27

Browse files
committed
Add entries in CHANGELOG
1 parent 50504a2 commit 9357f27

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
Changes to 0.4.29:
1+
Changes to 0.4.28:
22

3+
- libmagic and magic.mgc now come bundled in the wheels on PyPI, and will be copied
4+
into site-packages/magic along with the Python files of this library
5+
- magic.loader.load_lib now first searches for libmagic in the same directory as the
6+
Python files, then in the current working directory, and only then in standard paths
7+
- magic.Magic(magic_file=...) and magic.compat.Magic.load(magic_file=...) will now
8+
prefer "magic.mgc" in the same directory as the Python files, only if left
9+
unspecified by the user (and the MAGIC env var is empty or not set)
310
- support MAGIC_SYMLINK (via follow_symlink flag on Magic constructor)
411
- correctly throw FileNotFoundException depending on flag
5-
6-
Changes to 0.4.28:
7-
812
- support "magic-1.dll" on Windows, which is produced by vcpkg
913
- add python 3.10 to tox config
1014
- update test for upstream gzip extensions

add_libmagic.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ install_precompiled() {
3838
yum install file-libs
3939
else
4040
# windows (no install, just download into current working directory)
41+
# could also consider install using `pacman`: https://packages.msys2.org/base/mingw-w64-file
4142
python <<EOF
4243
import platform, sysconfig, io, zipfile, urllib.request
4344
assert platform.system() == "Windows"

0 commit comments

Comments
 (0)