Merge pull request #363 from eustas/to-v0.4

Update setup.py
This commit is contained in:
eustas 2016-06-03 12:41:12 +02:00
commit 2f87a5ae2d
5 changed files with 23 additions and 21 deletions

View File

@ -1,4 +1,6 @@
include CONTRIBUTING.md
include common/*.c
include common/*.h
include dec/*.c
include dec/*.h
include dec/Makefile

View File

@ -13,7 +13,7 @@ testdata/asyoulik.txt
testdata/lcet10.txt
testdata/plrabn12.txt
../enc/encode.cc
../enc/dictionary.h
../common/dictionary.h
../dec/decode.c
%s
""" % BRO

View File

@ -13,7 +13,7 @@ testdata/asyoulik.txt
testdata/lcet10.txt
testdata/plrabn12.txt
../enc/encode.cc
../enc/dictionary.h
../common/dictionary.h
../dec/decode.c
%s
""" % BRO

View File

@ -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++",
)

View File

@ -11,7 +11,7 @@ testdata/asyoulik.txt
testdata/lcet10.txt
testdata/plrabn12.txt
../enc/encode.cc
../enc/dictionary.h
../common/dictionary.h
../dec/decode.c
$BRO
"""