Skip to content

Commit

Permalink
bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran authored Nov 22, 2021
1 parent b451673 commit d9cedab
Show file tree
Hide file tree
Showing 5 changed files with 905 additions and 181 deletions.
7 changes: 7 additions & 0 deletions Modules/Setup.stdlib.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
# with ./configure --with-system-libmpdec
@MODULE__DECIMAL_TRUE@_decimal _decimal/_decimal.c

# compression libs and binascii (optional CRC32 from zlib)
# bindings need -lbz2, -lz, or -llzma, respectively
@MODULE_BINASCII_TRUE@binascii binascii.c
@MODULE__BZ2_TRUE@_bz2 _bz2module.c
@MODULE__LZMA_TRUE@_lzma _lzmamodule.c
@MODULE_ZLIB_TRUE@zlib zlibmodule.c

# hashing builtins, can be disabled with --without-builtin-hashlib-hashes
@MODULE__MD5_TRUE@_md5 md5module.c
@MODULE__SHA1_TRUE@_sha1 sha1module.c
Expand Down
Loading

0 comments on commit d9cedab

Please sign in to comment.