forked from extern/httpie-cli
Use builtin open()
in setup.py
(#1120)
This commit is contained in:
parent
a66af2497a
commit
da47e37c44
3
setup.py
3
setup.py
@ -1,7 +1,6 @@
|
|||||||
# This is purely the result of trial and error.
|
# This is purely the result of trial and error.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import codecs
|
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
@ -55,7 +54,7 @@ extras_require = {
|
|||||||
|
|
||||||
|
|
||||||
def long_description():
|
def long_description():
|
||||||
with codecs.open('README.rst', encoding='utf8') as f:
|
with open('README.rst', encoding='utf-8') as f:
|
||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user