From 7bea47681b3f0e7ee1f5946c27529b94c097d52e Mon Sep 17 00:00:00 2001 From: 2017alan <17210240044@fudan.edu.cn> Date: Sat, 15 Sep 2018 17:18:51 +0800 Subject: [PATCH] set encoding model utf-8,otherwise in some computer it will compile failed. --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 25a645c5..a7b5dc46 100644 --- a/setup.py +++ b/setup.py @@ -2,18 +2,18 @@ # coding=utf-8 from setuptools import setup, find_packages -with open('README.md') as f: +with open('README.md', encoding='utf-8') as f: readme = f.read() -with open('LICENSE') as f: +with open('LICENSE', encoding='utf-8') as f: license = f.read() -with open('requirements.txt') as f: +with open('requirements.txt', encoding='utf-8') as f: reqs = f.read() setup( name='fastNLP', - version='0.0.1', + version='0.0.3', description='fastNLP: Deep Learning Toolkit for NLP, developed by Fudan FastNLP Team', long_description=readme, license=license,