Permalink
Browse files

use io.open() for long_description from file (#299)

  • Loading branch information...
1 parent 3f417eb commit 440e2a525d41060488ae3fc5ef837bba8bc121b9 @danstender danstender committed with sigmavirus24 Aug 18, 2016
Showing with 3 additions and 2 deletions.
  1. +3 −2 setup.py
View
@@ -1,8 +1,9 @@
from setuptools import setup, find_packages
import os
+import io
-long_description = open(
- os.path.join(os.path.dirname(__file__), 'README.rst')).read()
+long_description = io.open(
+ os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read()
setup(
name="httpbin",

0 comments on commit 440e2a5

Please sign in to comment.