diff --git a/setup.py b/setup.py index ce454fa..5aadd99 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,3 @@ -import codecs from distutils.core import setup from setuptools.command.test import test as TestCommand import re @@ -20,7 +19,7 @@ def run_tests(self): def long_description(): """Pre-process the README so that PyPi can render it properly.""" - with codecs.open('README.rst', encoding='utf8') as f: + with open('README.rst') as f: rst = f.read() code_block = '(:\n\n)?\.\. code-block::.*' rst = re.sub(code_block, '::', rst)