This is a port of the 'lzma' module included in Python 3.3 or later
by Nadeem Vawda and Per Oyvind Karlsen, which provides a Python wrapper for XZ Utils
(aka LZMA Utils v2) by Igor Pavlov.
Unlike backports.lzma which is a straight backport, this version uses cffi which means
it runs on PyPy without having to use the (very slow) CPyExt. It also runs perfectly
well on CPython 2.6, 2.7 or 3.
To use, either `import lzmaffi as lzma', or add this at the beginning of your script:
Then `import lzma' as usual.
In order to compile this, you will need to install XZ Utils from http://tukaani.org/xz/
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.