diff options
| author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-11-29 22:25:06 (GMT) |
|---|---|---|
| committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-11-29 22:25:06 (GMT) |
| commit | 3ff069ebc6884c46c3f99ea61919f7728708c571 (patch) | |
| tree | 7841d724ab68fcd5aef276e06092ed15ae293e44 /setup.py | |
| parent | 551ac957331ff7f2a08436198b73f9c0245987e0 (diff) | |
| download | cpython-3ff069ebc6884c46c3f99ea61919f7728708c571.zip cpython-3ff069ebc6884c46c3f99ea61919f7728708c571.tar.gz cpython-3ff069ebc6884c46c3f99ea61919f7728708c571.tar.bz2 | |
Issue #6715: Add module for compression using the LZMA algorithm.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1279,6 +1279,13 @@ class PyBuildExt(build_ext): 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 |
