1
0

0.4.27-36-g067399b.update-readme-md.patch 938 B

123456789101112131415161718192021222324252627282930
  1. Subject: Update README.md
  2. Origin: upstream, commit 0.4.27-36-g067399b <https://github.com/ahupp/python-magic/commit/0.4.27-36-g067399b>
  3. Author: Adam Hupp <adam@hupp.org>
  4. Date: Sun Jun 9 17:31:24 2024 -0700
  5. Forwarded: not-needed
  6. --- a/README.md
  7. +++ b/README.md
  8. @@ -62,19 +62,13 @@
  9. sudo apt-get install libmagic1
  10. ```
  11. -### Windows
  12. -
  13. -You'll need DLLs for libmagic. @julian-r maintains a pypi package with the DLLs, you can fetch it with:
  14. -
  15. -```
  16. -pip install python-magic-bin
  17. -```
  18. -
  19. ### OSX
  20. - When using Homebrew: `brew install libmagic`
  21. - When using macports: `port install file`
  22. +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.
  23. +
  24. ### SmartOS:
  25. - Install libmagic for source https://github.com/threatstack/libmagic/
  26. - Depending on your ./configure --prefix settings set your LD_LIBRARY_PATH to <prefix>/lib