summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2020-08-13 10:46:10 -0700
committerGitHub <noreply@github.com>2020-08-13 10:46:10 -0700
commit1a9f90ac5c6b6eb93495595e1af4407943f3e278 (patch)
treeed90d6559a23eee405c2683c38d6d437c28b3435
parentb8b200c2d2fca60012f313827e680f0b65c33652 (diff)
downloadpython-magic-1a9f90ac5c6b6eb93495595e1af4407943f3e278.tar.gz
Update README.md
-rw-r--r--README.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/README.md b/README.md
index 09b545b..3ddfc83 100644
--- a/README.md
+++ b/README.md
@@ -61,13 +61,9 @@ that must be installed as well:
### Windows
-You'll need DLLs for libmagic. @julian-r has uploaded a version of this project that includes binaries to PyPI:
-https://pypi.python.org/pypi/python-magic-bin/0.4.14
-
-Other sources of the libraries in the past have been [File for Windows](http://gnuwin32.sourceforge.net/packages/file.htm) . You will need to copy the file `magic` out of `[binary-zip]\share\misc`, and pass its location to `Magic(magic_file=...)`.
-
-If you are using a 64-bit build of python, you'll need 64-bit libmagic binaries which can be found here: https://github.com/pidydx/libmagicwin64. Newer version can be found here: https://github.com/nscaife/file-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
@@ -83,7 +79,8 @@ If you are using a 64-bit build of python, you'll need 64-bit libmagic binaries
- 'WindowsError: [Error 193] %1 is not a valid Win32 application':
Attempting to run the 32-bit libmagic DLL in a 64-bit build of
- python will fail with this error. Here are 64-bit builds of libmagic for windows: https://github.com/pidydx/libmagicwin64
+ python will fail with this error. Here are 64-bit builds of libmagic for windows: https://github.com/pidydx/libmagicwin64.
+ Newer version can be found here: https://github.com/nscaife/file-windows.
- 'WindowsError: exception: access violation writing 0x00000000 ' This may indicate you are mixing
Windows Python and Cygwin Python. Make sure your libmagic and python builds are consistent.