Browse Source

fix #945: decode readme as utf-8 in setup script

Rafał Pitoń 7 years ago
parent
commit
99f20b6f99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -8,7 +8,7 @@ from misago import __version__ as version
 
 SETUP_DIR = os.path.dirname(__file__)
 
-README = open(os.path.join(SETUP_DIR, 'README.rst')).read()
+README = open(os.path.join(SETUP_DIR, 'README.rst'), 'rb').read().decode('utf-8')
 
 with open(os.path.join(SETUP_DIR, 'requirements.txt'), "r") as f:
     REQUIREMENTS = [x.strip() for x in f.readlines()]