fix reading description in setup.py

This commit is contained in:
Jack Robison 2017-03-13 16:05:54 -04:00
parent ec35eb2397
commit 4e765b265f

View file

@ -47,8 +47,8 @@ def package_files(directory):
package_name = "lbrynet" package_name = "lbrynet"
base_dir = os.path.abspath(os.path.dirname(__file__)) base_dir = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file # Get the long description from the README file
with open(os.path.join(base_dir, 'README.md'), encoding='utf-8') as f: with open(os.path.join(base_dir, 'README.md')) as f:
long_description = f.read() long_description = f.read().decode('utf-8')
setup( setup(
name=package_name, name=package_name,