mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
use io.open() for long_description from file (#299)
This commit is contained in:
committed by
Ian Cordasco
parent
3f417eb818
commit
440e2a525d
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user