Skip to content

Commit

Permalink
Revert to python-magic
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Jan 22, 2024
1 parent c3a866c commit 04eb615
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
2 changes: 1 addition & 1 deletion iscc_sdk/mediatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from loguru import logger as log
from typing import List, Optional, Union
import mimetypes
from py_file_type import magic
import magic
import iscc_sdk as idk


Expand Down
36 changes: 24 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ python = ">=3.9,<4.0"
cython = "*"
iscc-core = "^1.0.7"
iscc-schema = "^0.4.1"
py-file-type = "^0.1"
python-magic-bin = { version = "^0.4", markers = "sys_platform == 'win32' or (sys_platform == 'darwin' and platform_machine == 'x86_64')" }
python-magic = { version = "^0.4", markers = "sys_platform == 'linux' or (sys_platform == 'darwin' and platform_machine == 'arm64')" }
install-jdk = "^0.3"
platformdirs = "*"
jmespath = "^1.0"
Expand Down

0 comments on commit 04eb615

Please # to comment.