File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,22 +56,22 @@ You can also find more thorough examples in the ``tests/`` directory.
5656MacOS Notes
5757===========
5858MacOS ships with an old version of libarchive (/usr/lib/libarchive.dylib) and python-libarchive-c will by default try and use it.
59- If you want to use python-libarchive-c on MacOS, you need to install a newer version of this lib. Homebrew can do this:
59+ If you want to use python-libarchive-c on MacOS, you need to install a newer version of this lib. Homebrew can do this::
6060
6161 $ brew install libarchive
6262
6363This will install it in a path like /usr/local/Cellar/libarchive/3.3.3/lib/libarchive.13.dylib .
6464
65- Once installed, set the environment variable LIBARCHIVE to this path:
65+ Once installed, set the environment variable LIBARCHIVE to this path::
6666
6767 export LIBARCHIVE=/usr/local/Cellar/libarchive/3.3.3/lib/libarchive.13.dylib
6868 python
6969
70- or
70+ or alternatively inline with starting Python::
7171
7272 LIBARCHIVE=/usr/local/Cellar/libarchive/3.3.3/lib/libarchive.13.dylib python
7373
74- or
74+ or inside the script itself::
7575
7676 python
7777 >>> import os
You can’t perform that action at this time.
0 commit comments