mirror of
https://github.com/google/brotli.git
synced 2024-11-08 13:20:05 +00:00
Update setup.py
This commit is contained in:
parent
5a206dd9ab
commit
11d1337baf
@ -1,4 +1,6 @@
|
||||
include CONTRIBUTING.md
|
||||
include common/*.c
|
||||
include common/*.h
|
||||
include dec/*.c
|
||||
include dec/*.h
|
||||
include dec/Makefile
|
||||
|
36
setup.py
36
setup.py
@ -121,6 +121,11 @@ class BuildExt(build_ext):
|
||||
brotli = Extension("brotli",
|
||||
sources=[
|
||||
"python/brotlimodule.cc",
|
||||
"common/dictionary.c",
|
||||
"dec/bit_reader.c",
|
||||
"dec/decode.c",
|
||||
"dec/huffman.c",
|
||||
"dec/state.c",
|
||||
"enc/backward_references.cc",
|
||||
"enc/block_splitter.cc",
|
||||
"enc/brotli_bit_stream.cc",
|
||||
@ -134,13 +139,21 @@ brotli = Extension("brotli",
|
||||
"enc/static_dict.cc",
|
||||
"enc/streams.cc",
|
||||
"enc/utf8_util.cc",
|
||||
"dec/bit_reader.c",
|
||||
"dec/decode.c",
|
||||
"dec/dictionary.c",
|
||||
"dec/huffman.c",
|
||||
"dec/state.c",
|
||||
],
|
||||
depends=[
|
||||
"common/constants.h",
|
||||
"common/dictionary.h",
|
||||
"common/port.h",
|
||||
"common/types.h",
|
||||
"dec/bit_reader.h",
|
||||
"dec/context.h",
|
||||
"dec/decode.h",
|
||||
"dec/huffman.h",
|
||||
"dec/port.h",
|
||||
"dec/prefix.h",
|
||||
"dec/state.h",
|
||||
"dec/streams.h",
|
||||
"dec/transform.h",
|
||||
"enc/backward_references.h",
|
||||
"enc/bit_cost.h",
|
||||
"enc/block_splitter.h",
|
||||
@ -150,7 +163,6 @@ brotli = Extension("brotli",
|
||||
"enc/compress_fragment.h",
|
||||
"enc/compress_fragment_tw_pass.h"
|
||||
"enc/context.h",
|
||||
"enc/dictionary.h",
|
||||
"enc/dictionary_hash.h",
|
||||
"enc/encode.h",
|
||||
"enc/entropy_encode.h",
|
||||
@ -168,20 +180,8 @@ brotli = Extension("brotli",
|
||||
"enc/static_dict_lut.h",
|
||||
"enc/streams.h",
|
||||
"enc/transform.h",
|
||||
"enc/types.h",
|
||||
"enc/utf8_util.h",
|
||||
"enc/write_bits.h",
|
||||
"dec/bit_reader.h",
|
||||
"dec/context.h",
|
||||
"dec/decode.h",
|
||||
"dec/dictionary.h",
|
||||
"dec/huffman.h",
|
||||
"dec/prefix.h",
|
||||
"dec/port.h",
|
||||
"dec/streams.h",
|
||||
"dec/transform.h",
|
||||
"dec/types.h",
|
||||
"dec/state.h",
|
||||
],
|
||||
language="c++",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user