Browse Source

set encoding model utf-8,otherwise in some computer it will compile failed.

tags/v0.1.0
2017alan 6 years ago
parent
commit
7bea47681b
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      setup.py

+ 4
- 4
setup.py View File

@@ -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,


Loading…
Cancel
Save