Skip to content
Myr

Merge pull request #2199 from mtorromeo/patch-1

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

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 1324ca1, 226b5c7 · 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',
30 unmodified lines