diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-04-19 15:13:02 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-04-19 15:13:02 +0200 |
commit | 870b961a3a6d72d8c7569cbc637c6cc553c1d907 (patch) | |
tree | 4185c36062b9b8c504075658b8dd5303285f3a20 /__init__.py | |
parent | e3663d2b81399576b5a4edca9820971bf801e66a (diff) | |
download | ruamel.yaml-870b961a3a6d72d8c7569cbc637c6cc553c1d907.tar.gz |
fix issue #116: Text not available in 3.5.0/3.5.10.14.8
If this solves the issue for you, please close it.
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/__init__.py b/__init__.py index 9982d17..1ed58dc 100644 --- a/__init__.py +++ b/__init__.py @@ -6,12 +6,14 @@ from __future__ import print_function, absolute_import, division, unicode_litera # ruamel.base installed __init__.py, and thus a new version should # be installed at some point -from typing import Dict, Any # NOQA +import sys +if sys.version_info >= (3, 5, 2): + from typing import Dict, Any # NOQA _package_data = dict( full_package_name='ruamel.yaml', - version_info=(0, 14, 7), - __version__='0.14.7', + version_info=(0, 14, 8), + __version__='0.14.8', 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 |