We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8095606 commit c7c609fCopy full SHA for c7c609f
setup.py
@@ -1,4 +1,3 @@
1
-import codecs
2
from distutils.core import setup
3
from setuptools.command.test import test as TestCommand
4
import re
@@ -20,7 +19,7 @@ def run_tests(self):
20
19
21
def long_description():
22
"""Pre-process the README so that PyPi can render it properly."""
23
- with codecs.open('README.rst', encoding='utf8') as f:
+ with open('README.rst') as f:
24
rst = f.read()
25
code_block = '(:\n\n)?\.\. code-block::.*'
26
rst = re.sub(code_block, '::', rst)
0 commit comments