Skip to content

Commit

Permalink
force utf8 to fix encoding error, fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
lxyu committed Nov 24, 2016
1 parent 4b7144b commit eea9513
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from io import open

from setuptools import setup

setup(
Expand All @@ -16,7 +18,7 @@
entry_points={"console_scripts": ["pinyin = pinyin.cmd:pinyin", ]},
url='http://lxyu.github.io/pinyin/',
license="BSD",
long_description=open('README.rst').read(),
long_description=open('README.rst', encoding='utf-8').read(),
classifiers=[
"Topic :: Software Development",
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit eea9513

Please sign in to comment.