Mercurial > cpython-lru_cache-weakref
diff setup.py @ 73794:74d182cf0187
Issue #6715: Add module for compression using the LZMA algorithm.
| author | Nadeem Vawda <nadeem.vawda@gmail.com> |
|---|---|
| date | Wed, 30 Nov 2011 00:25:06 +0200 |
| parents | 5d42f22189be |
| children | 3f9b3b6f7ff0 |
line wrap: on
line diff
--- a/setup.py Tue Nov 29 22:58:13 2011 +0100 +++ b/setup.py Wed Nov 30 00:25:06 2011 +0200 @@ -1279,6 +1279,13 @@ else: missing.append('_bz2') + # LZMA compression support. + if self.compiler.find_library_file(lib_dirs, 'lzma'): + exts.append( Extension('_lzma', ['_lzmamodule.c'], + libraries = ['lzma']) ) + else: + missing.append('_lzma') + # Interface to the Expat XML parser # # Expat was written by James Clark and is now maintained by a group of
