Skip to content

Commit

Permalink
fix a bug in setup.py
Browse files Browse the repository at this point in the history
bug: pip install failed in Windows: GBK encoding not support.

This commit fix it.
  • Loading branch information
cdfmlr committed Oct 30, 2020
1 parent 41917c3 commit f312d64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()
with open("README.md", "rb") as fh:
long_description = fh.read().decode("utf-8")

setuptools.setup(
name='pyflowchart',
version='0.0.1',
version='0.0.2',
url='https://github.com/cdfmlr/pyflowchart',
license='MIT',
author='CDFMLR',
Expand Down

0 comments on commit f312d64

Please sign in to comment.