Skip to content
Myr

Open README and HISTORY as utf-8 encoded files (fixes #2196)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Massimiliano Torromeo · committed by Massimiliano Torromeo · parent 95161ed · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:setup.py+4 added-2 removed
3 unmodified lines
4import sys56import requests78from codecs import open910try:11 from setuptools import setup12except ImportError:13 from distutils.core import setup
14 unmodified lines
28]2930requires = ['certifi']3130with open('README.rst') as f:32with open('README.rst', 'r', 'utf-8') as f:33 readme = f.read()32with open('HISTORY.rst') as f:34with open('HISTORY.rst', 'r', 'utf-8') as f:35 history = f.read()3637setup(38 name='requests',
27 unmodified lines