mirror of https://github.com/pypa/pip
remove non-ascii char from CHANGES.txt and add comment about lack of encoding in setup.py read function
This commit is contained in:
parent
cf3a5619b0
commit
1656ac39c4
|
@ -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)
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue