Skip to content

Commit 853a1fd

Browse files
authored
Merge pull request #79 from cvanlabe/docupdate_macosx_libarchive
Add a section to the README about the compatibility with old versions of libarchive and particularly the ones shipped with MacOS. The `LIBARCHIVE` environment variable is now minimally documented.
2 parents 3894218 + 04273e4 commit 853a1fd

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,21 @@ Installation
1414
Compatibility
1515
=============
1616

17+
python
18+
------
19+
1720
python-libarchive-c is currently tested with python 2.7, 3.4, 3.5, and 3.6.
1821

1922
If you find an incompatibility with older versions you can send us a small patch,
2023
but we won't accept big changes.
2124

25+
libarchive
26+
----------
27+
28+
python-libarchive-c may not work properly with obsolete versions of libarchive such as the ones included in MacOS. In that case you can install a recent version of libarchive (e.g. with ``brew install libarchive`` on MacOS) and use the ``LIBARCHIVE`` environment variable to point python-libarchive-c to it::
29+
30+
export LIBARCHIVE=/usr/local/Cellar/libarchive/3.3.3/lib/libarchive.13.dylib
31+
2232
Usage
2333
=====
2434

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ universal = 1
33

44
[flake8]
55
exclude=.?*,env*/
6-
ignore = E226,E731
6+
ignore = E226,E731,W504
77
max-line-length = 80

0 commit comments

Comments
 (0)