diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-02-05 22:07:54 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-02-05 22:07:54 -0500 |
commit | 2b837b281149f24f44089a85efecbb40cf1258c4 (patch) | |
tree | 26446dc2fe9fe4b6d81bad0e08d35d073d4242d0 /setup.py | |
parent | 20f0eabf20453410b1beffdd2e0d686f4d711564 (diff) | |
parent | df38635fd938de9964ad4e3ab861bc7d1ce760f1 (diff) | |
download | external_python_setuptools-2b837b281149f24f44089a85efecbb40cf1258c4.tar.gz external_python_setuptools-2b837b281149f24f44089a85efecbb40cf1258c4.tar.bz2 external_python_setuptools-2b837b281149f24f44089a85efecbb40cf1258c4.zip |
Merge with 2.1.2
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,7 @@ import sys import os import textwrap +import codecs # Allow to run setup.py from another directory. os.chdir(os.path.dirname(os.path.abspath(__file__))) @@ -81,7 +82,8 @@ class test(_test): f.write(ep_content) -readme_file = open('README.txt') +readme_file = codecs.open('README.txt', encoding='utf-8') + # the release script adds hyperlinks to issues if os.path.exists('CHANGES (links).txt'): changes_file = open('CHANGES (links).txt') |