Issue #6715: Add module for compression using the LZMA algorithm.

This commit is contained in:
Nadeem Vawda 2011-11-30 00:25:06 +02:00
parent 551ac95733
commit 3ff069ebc6
16 changed files with 3773 additions and 6 deletions

View file

@ -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