summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-03-09 09:02:50 +0100
committerAnthon van der Neut <anthon@mnt.org>2021-03-09 09:02:50 +0100
commite73562c6f14d1d71a9fea174d58465e1b13f68af (patch)
tree309851cca7d411b31c27753555871d493282c7f0 /__init__.py
parent96839d9f64f4698bdc519cbfbd48d51178460714 (diff)
downloadruamel.yaml-e73562c6f14d1d71a9fea174d58465e1b13f68af.tar.gz
remove python 2 specific code
add future deprecation warning to old style functions
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/__init__.py b/__init__.py
index 7964157..816eaa3 100644
--- a/__init__.py
+++ b/__init__.py
@@ -1,14 +1,12 @@
# coding: utf-8
-from __future__ import print_function, absolute_import, division, unicode_literals
-
if False: # MYPY
from typing import Dict, Any # NOQA
_package_data = dict(
full_package_name='ruamel.yaml',
- version_info=(0, 16, 13),
- __version__='0.16.13',
+ version_info=(0, 17, 0, 'dev'),
+ __version__='0.17.0.dev',
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
@@ -21,23 +19,20 @@ _package_data = dict(
'docs': ['ryd'],
},
classifiers=[
- 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
- 'Programming Language :: Python :: Implementation :: PyPy',
- 'Programming Language :: Python :: Implementation :: Jython',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup',
'Typing :: Typed',
],
keywords='yaml 1.2 parser round-trip preserve quotes order config',
read_the_docs='yaml',
- supported=[(2, 7), (3, 5)], # minimum
+ supported=[(3, 5)], # minimum
tox=dict(
- env='*', # remove 'pn', no longer test narrow Python 2.7 for unicode patterns and PyPy
+ env='*f', # f for 3.5
deps='ruamel.std.pathlib',
fl8excl='_test/lib',
),