Browse Source

fix: UnicodeDecodeError when install on windows

wangweimin 4 years ago
parent
commit
ca7579a73c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      pywebio/__version__.py
  2. 1 1
      setup.py

+ 2 - 2
pywebio/__version__.py

@@ -1,8 +1,8 @@
 __package__ = 'pywebio'
 __description__ = 'Write web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
-__version__ = "1.0.0"
-__version_info__ = (1, 0, 0, 0)
+__version__ = "1.0.1"
+__version_info__ = (1, 0, 1, 0)
 __author__ = 'WangWeimin'
 __author_email__ = 'wang0.618@qq.com'
 __license__ = 'MIT'

+ 1 - 1
setup.py

@@ -9,7 +9,7 @@ about = {}
 with open(os.path.join(here, 'pywebio', '__version__.py')) as f:
     exec(f.read(), about)
 
-with open('README.md') as f:
+with open('README.md', encoding='utf8') as f:
     readme = f.read()
 
 extras_require = {