Mercurial > cpython-lru_cache-weakref
diff setup.py @ 69112:2cb07a46f4b5
Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept
file-like objects using a new `fileobj` constructor argument. Patch by
Nadeem Vawda.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sun, 03 Apr 2011 17:05:46 +0200 |
| parents | db73857669fb |
| children | 3f00611c3daf |
line wrap: on
line diff
--- a/setup.py Sun Apr 03 18:02:13 2011 +0300 +++ b/setup.py Sun Apr 03 17:05:46 2011 +0200 @@ -1233,11 +1233,11 @@ bz2_extra_link_args = ('-Wl,-search_paths_first',) else: bz2_extra_link_args = () - exts.append( Extension('bz2', ['bz2module.c'], + exts.append( Extension('_bz2', ['_bz2module.c'], libraries = ['bz2'], extra_link_args = bz2_extra_link_args) ) else: - missing.append('bz2') + missing.append('_bz2') # Interface to the Expat XML parser #
