fix reading description in setup.py
This commit is contained in:
parent
ec35eb2397
commit
4e765b265f
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue