Commit 05e54783 authored by Yuxin Wu's avatar Yuxin Wu

fix setup script

parent f557aaa9
## Breaking API changes. ## Breaking API changes.
tensorpack is still in early development, and API changes can happen. Tensorpack is in development, and API changes can happen.
The backward compatibilty will be __preserved for several months__, with a deprecation warning, The backward compatibilty will be __preserved for at least several months__, with a deprecation warning,
so you won't need to look at here very often. so you don't need to look at here very often.
Here are a list of things that were changed, starting from an early version. Here are a list of things that were changed, starting from an early version.
TensorFlow itself also changed APIs before 1.0 and those are not listed here. TensorFlow itself also APIs changes and those are not listed here.
+ [2018/04/05] msgpack is replaced by pyarrow. If you want compatibility with old serialized data, + [2018/04/05] msgpack is replaced by pyarrow. If you want compatibility with old serialized data,
`export TENSORPACK_SERIALIZE=msgpack`. `export TENSORPACK_SERIALIZE=msgpack`.
......
include requirements.txt
...@@ -13,8 +13,8 @@ libinfo_py = path.join(this_directory, 'tensorpack', 'libinfo.py') ...@@ -13,8 +13,8 @@ libinfo_py = path.join(this_directory, 'tensorpack', 'libinfo.py')
last_line = open(libinfo_py, "rb").readlines()[-1].strip() last_line = open(libinfo_py, "rb").readlines()[-1].strip()
exec(last_line) exec(last_line)
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: with open(path.join(this_directory, 'README.md'), 'rb') as f:
long_description = f.read() long_description = f.read().decode('utf-8')
setup( setup(
name='tensorpack', name='tensorpack',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment