1
0

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

1234567891011121314151617181920212223242526272829
  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. --- a/README.md
  6. +++ b/README.md
  7. @@ -62,19 +62,13 @@
  8. sudo apt-get install libmagic1
  9. ```
  10. -### Windows
  11. -
  12. -You'll need DLLs for libmagic. @julian-r maintains a pypi package with the DLLs, you can fetch it with:
  13. -
  14. -```
  15. -pip install python-magic-bin
  16. -```
  17. -
  18. ### OSX
  19. - When using Homebrew: `brew install libmagic`
  20. - When using macports: `port install file`
  21. +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.
  22. +
  23. ### SmartOS:
  24. - Install libmagic for source https://github.com/threatstack/libmagic/
  25. - Depending on your ./configure --prefix settings set your LD_LIBRARY_PATH to <prefix>/lib