aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2016-06-03 12:02:01 +0200
committerEugene Kliuchnikov <eustas@google.com>2016-06-03 12:02:01 +0200
commit11d1337baf817f194bed33895501c30e145b3a75 (patch)
tree8d482c68212b384a8c91202fad75fd04dc51a809 /setup.py
parent5a206dd9abefec5a8af908c61568ce54eabcd3a6 (diff)
downloadbrotli-11d1337baf817f194bed33895501c30e145b3a75.zip
brotli-11d1337baf817f194bed33895501c30e145b3a75.tar.gz
brotli-11d1337baf817f194bed33895501c30e145b3a75.tar.bz2
Update setup.py
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/setup.py b/setup.py
index 4540348..5f13e6f 100644
--- a/setup.py
+++ b/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++",
)