summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šedivý <6774676+eumiro@users.noreply.github.com>2021-01-13 21:20:06 +0100
committerMiroslav Šedivý <6774676+eumiro@users.noreply.github.com>2021-01-13 21:20:06 +0100
commit8975a319d51f890c5ac5b6dbd1960834927211ac (patch)
tree2ca1711d7ad0420265b60335921b6e7036a35f48
parent4274a794423424c2ba7033f82bf1e9224bbba875 (diff)
downloadpython-magic-8975a319d51f890c5ac5b6dbd1960834927211ac.tar.gz
Make the shell snippets more readable in README.md
-rw-r--r--README.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/README.md b/README.md
index fa33f65..0430820 100644
--- a/README.md
+++ b/README.md
@@ -57,13 +57,17 @@ that must be installed as well:
### Debian/Ubuntu
- $ sudo apt-get install libmagic1
+```
+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
+```
+pip install python-magic-bin
+```
### OSX
@@ -99,15 +103,21 @@ triage it.
To run the tests across 3 recent Ubuntu LTS releases (depends on Docker):
- $ ./test_docker.sh
+```
+./test_docker.sh
+```
To run tests locally across all available python versions:
- $ ./test/run.py
+```
+./test/run.py
+```
To run against a specific python version:
- $ LC_ALL=en_US.UTF-8 python3 test/test.py
+```
+LC_ALL=en_US.UTF-8 python3 test/test.py
+```
## Versioning