diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-03-23 14:23:23 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-03-23 14:23:23 +0100 |
commit | 01ca7a4eb5212d44c639496cb91a029669570cc5 (patch) | |
tree | 89b562c696e6329b7ef85501f16b5e7a84314a40 | |
parent | fa7923c2feb12e11c8f3b02ce2fa7249304bf759 (diff) | |
download | ruamel.yaml-01ca7a4eb5212d44c639496cb91a029669570cc5.tar.gz |
fix issue 107: UTF-8 in README.rst0.14.2
reported by (S?bastien Maccagnoni-Munch)
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | README.rst | 3 | ||||
-rw-r--r-- | __init__.py | 4 | ||||
-rw-r--r-- | setup.py | 7 |
4 files changed, 14 insertions, 5 deletions
@@ -1,4 +1,7 @@ -0.14.0: 2017-03-22 +[0, 14, 2]: 2017-03-23 + - fix for old default pip on Ubuntu 14.04 (reported by Sébastien Maccagnoni-Munch) + +0.14.1: 2017-03-22 - fix Text not available on 3.5.0 and 3.5.1 (reported by Charles Bouchard-Légaré) 0.14.0: 2017-03-21 @@ -18,6 +18,9 @@ ChangeLog .. should insert NEXT: at the beginning of line for next key +0.14.2 (2017-03-23): + - fix for old default pip on Ubuntu 14.04 (reported by Sébastien Maccagnoni-Munch) + 0.14.1 (2017-03-22): - fix Text not available on 3.5.0 and 3.5.1 (reported by Charles Bouchard-Légaré) diff --git a/__init__.py b/__init__.py index 8a21e45..dd2b468 100644 --- a/__init__.py +++ b/__init__.py @@ -10,8 +10,8 @@ from typing import Dict, Any # NOQA _package_data = dict( full_package_name='ruamel.yaml', - version_info=(0, 14, 1), - __version__='0.14.1', + version_info=(0, 14, 2), + __version__='0.14.2', author='Anthon van der Neut', author_email='a.van.der.neut@ruamel.eu', description='ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order', # NOQA @@ -815,8 +815,11 @@ def main(): print(' "{0}": "{1}",'.format(k, v)) if dump_kw in sys.argv: sys.argv.remove(dump_kw) - with open('README.rst') as fp: - kw['long_description'] = fp.read() + try: + with open('README.rst') as fp: + kw['long_description'] = fp.read() + except: + pass if nsp.wheel(kw, setup): return for x in ['-c', 'egg_info', '--egg-base', 'pip-egg-info']: |