summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2021-01-13 12:27:16 -0800
committerGitHub <noreply@github.com>2021-01-13 12:27:16 -0800
commit8c577bd89b0ffa0d7abb1135a76dc7c7fcd5bd89 (patch)
tree2ca1711d7ad0420265b60335921b6e7036a35f48
parent4274a794423424c2ba7033f82bf1e9224bbba875 (diff)
parent8975a319d51f890c5ac5b6dbd1960834927211ac (diff)
downloadpython-magic-8c577bd89b0ffa0d7abb1135a76dc7c7fcd5bd89.tar.gz
Merge pull request #231 from eumiro/readme-shell
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