Mercurial > cpython-lru_cache-weakref
diff setup.py @ 26037:521e89c4ff44 legacy-trunk
Patch implementing bz2 module.
* setup.py
(PyBuildExt.detect_modules): Included bz2 module detection.
* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
Included files implementing, testing, and documenting bz2 module.
* Doc/Makefile.deps
* Doc/lib/lib.tex
Include references to libbz2.tex.
* Misc/NEWS
(Library): Mention distutils' c++ linkage patch, and new bz2 module.
| author | Gustavo Niemeyer <gustavo@niemeyer.net> |
|---|---|
| date | Tue, 05 Nov 2002 16:50:05 +0000 |
| parents | 83828583d917 |
| children | adaa450e7d70 |
line wrap: on
line diff
--- a/setup.py Tue Nov 05 16:12:02 2002 +0000 +++ b/setup.py Tue Nov 05 16:50:05 2002 +0000 @@ -702,6 +702,11 @@ exts.append( Extension('zlib', ['zlibmodule.c'], libraries = ['z']) ) + # Gustavo Niemeyer's bz2 module. + if (self.compiler.find_library_file(lib_dirs, 'bz2')): + exts.append( Extension('bz2', ['bz2module.c'], + libraries = ['bz2']) ) + # Interface to the Expat XML parser # # Expat was written by James Clark and is now maintained by a
