mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #6715: Add module for compression using the LZMA algorithm.
This commit is contained in:
parent
551ac95733
commit
3ff069ebc6
16 changed files with 3773 additions and 6 deletions
7
setup.py
7
setup.py
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue