Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahupp committed Jun 10, 2024
1 parent a9e6276 commit 067399b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,13 @@ that must be installed as well:
sudo apt-get install libmagic1
```

### Windows

You'll need DLLs for libmagic. @julian-r maintains a pypi package with the DLLs, you can fetch it with:

```
pip install python-magic-bin
```

### OSX

- When using Homebrew: `brew install libmagic`
- When using macports: `port install file`

If python-magic fails to load the library it may be in a non-standard location, in which case you can set the environment variable `DYLD_LIBRARY_PATH` to point to it.

### SmartOS:
- Install libmagic for source https://github.com/threatstack/libmagic/
- Depending on your ./configure --prefix settings set your LD_LIBRARY_PATH to <prefix>/lib
Expand Down

0 comments on commit 067399b

Please sign in to comment.