fix setup.py

`.decode('utf-8')` is unnecessary and breaks on Python 3
This commit is contained in:
Ofek Lev 2017-08-23 20:53:57 -04:00 committed by GitHub
parent d840b107c8
commit 95e503cf1f

View file

@ -50,7 +50,7 @@ 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')) as f: with open(os.path.join(base_dir, 'README.md')) as f:
long_description = f.read().decode('utf-8') long_description = f.read()
setup( setup(
name=package_name, name=package_name,