mirror of
https://github.com/httpie/cli.git
synced 2024-11-07 16:34:35 +01:00
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.
|
||||
|
||||
import sys
|
||||
import codecs
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
@ -55,7 +54,7 @@ extras_require = {
|
||||
|
||||
|
||||
def long_description():
|
||||
with codecs.open('README.rst', encoding='utf8') as f:
|
||||
with open('README.rst', encoding='utf-8') as f:
|
||||
return f.read()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user