From 4ec127d065ec166f698f0010c736eeee37391f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sa=C5=82aban?= Date: Mon, 4 Jun 2018 00:56:58 +0200 Subject: [PATCH] Fix Python 2.x compatibility problem, close #24 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 222cb30..0b6ea59 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( version = version, description = 'A comprehensive Python module for handling Monero cryptocurrency', url = 'https://github.com/emesik/monero-python/', - long_description = open('README.rst', encoding = 'utf8').read(), + long_description = open('README.rst', 'rb').read().decode('utf-8'), install_requires = open('requirements.txt', 'r').read().splitlines(), packages = find_packages('.', exclude=['tests']), include_package_data = True,