Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced the python-magic module with filetype #444

Merged
merged 1 commit into from
Jan 3, 2024
Merged

replaced the python-magic module with filetype #444

merged 1 commit into from
Jan 3, 2024

Conversation

Johann-PLW
Copy link
Collaborator

On Apple Silicon Macs and some Windows computers, python-magic cannot run without installing additional libraries.
It was removed from requirements.txt file and is no longer needed to run ALEAPP.
filetype.py, a small and dependency free Python package to infer file type and MIME type checking the magic numbers signature of a file or buffer, has been adapted to be directly integrated into ALEAPP (easier to add new mime types).

Code was fully updated to use this new package.

@Johann-PLW Johann-PLW merged commit d14b83a into abrignoni:main Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant