remove non-ascii char from CHANGES.txt and add comment about lack of encoding in setup.py read function

This commit is contained in:
Marcus Smith 2013-02-19 23:24:15 -08:00
parent cf3a5619b0
commit 1656ac39c4
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ develop (unreleased)
available. Thanks Rafael Caricio, Miguel Araujo, Dmitry Gladkov (Pull #752)
* Fixed security issues with pip's use of temp build directories.
Thanks David (d1b) and Thomas Güttler. (Pull #780)
Thanks David (d1b) and Thomas Guttler. (Pull #780)
* Improvements to sphinx docs and cli help. (Pull #773)

View File

@ -8,6 +8,8 @@ from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open
# see here: https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(here, *parts), 'r').read()
def find_version(*file_paths):