File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ jobs:
115115 # add compiled libmagic to the build directory (to include in the wheel)
116116 CIBW_BEFORE_BUILD_MACOS : sudo -E bash add_libmagic.sh
117117 CIBW_BEFORE_BUILD_LINUX : bash add_libmagic.sh
118- CIBW_BEFORE_BUILD_WINDOWS : pip install -U setuptools
119118 # build macos wheels with maximum backwards compatibility (gcc -mmacosx-version-min flag)
120119 MACOSX_DEPLOYMENT_TARGET : ${{ ( endsWith( matrix.only, 'arm64' ) && '11.0' ) || '10.9' }}
121120 # simple smoke test run on each wheel: this is an HLS MP4 video, only recognised in recent versions of libmagic
Original file line number Diff line number Diff line change 66import os
77import sys
88
9- # python packages should not install succesfully if libraries are missing
10- from magic .loader import load_lib
11-
12- load_lib ()._name
13-
149
1510def read (file_name ):
1611 """Read a text file and return the content as a string."""
You can’t perform that action at this time.
0 commit comments