Skip to content

Commit ed077fc

Browse files
authored
Update README.md
1 parent 57b2559 commit ed077fc

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can also combine the flag options:
4444

4545
## Installation
4646

47-
This module is a simple [CDLL](https://docs.python.org/3/library/ctypes.html) wrapper around the libmagic C library.
47+
This module is a [CDLL](https://docs.python.org/3/library/ctypes.html) wrapper around the libmagic C library.
4848
The current stable version of python-magic is available on [PyPI](http://pypi.python.org/pypi/python-magic/)
4949
and can be installed by running:
5050
```
@@ -55,10 +55,13 @@ Compiled libmagic and the magic database come bundled in the wheels on PyPI.
5555
You can use your own `magic.mgc` database by setting the `MAGIC`
5656
environment variable, or by using `magic.Magic(magic_file='path/to/magic.mgc')`.
5757
If you want to compile your own libmagic, circumvent the wheels
58-
by installing from source: `pip install python-magic --no-binary python-magic`.
58+
by explicitly installing from source:
59+
```
60+
pip install python-magic --no-binary python-magic
61+
```
5962

6063
For systems not supported by the wheels, pip installs from source,
61-
requiring libmagic to be available before installing python-magic:
64+
which requires libmagic to be installed separately:
6265

6366
### Linux
6467

0 commit comments

Comments
 (0)