| 1 |
# coding: utf-8 |
| 2 |
|
| 3 |
from __future__ import print_function, absolute_import, division, unicode_literals |
| 4 |
|
| 5 |
if False: # MYPY |
| 6 |
from typing import Dict, Any # NOQA |
| 7 |
|
| 8 |
_package_data = dict( |
| 9 |
full_package_name="strictyaml.ruamel", |
| 10 |
version_info=(0, 16, 13), |
| 11 |
__version__="0.16.13", |
| 12 |
author="Anthon van der Neut", |
| 13 |
author_email="[email protected]", |
| 14 |
description="strictyaml.ruamel is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order", # NOQA |
| 15 |
entry_points=None, |
| 16 |
since=2014, |
| 17 |
extras_require={ |
| 18 |
':platform_python_implementation=="CPython" and python_version<="2.7"': [ |
| 19 |
"ruamel.ordereddict" |
| 20 |
], # NOQA |
| 21 |
':platform_python_implementation=="CPython" and python_version<"3.10"': [ |
| 22 |
"strictyaml.ruamel.clib>=0.1.2" |
| 23 |
], # NOQA |
| 24 |
"jinja2": ["strictyaml.ruamel.jinja2>=0.2"], |
| 25 |
"docs": ["ryd"], |
| 26 |
}, |
| 27 |
classifiers=[ |
| 28 |
"Programming Language :: Python :: 2.7", |
| 29 |
"Programming Language :: Python :: 3.5", |
| 30 |
"Programming Language :: Python :: 3.6", |
| 31 |
"Programming Language :: Python :: 3.7", |
| 32 |
"Programming Language :: Python :: 3.8", |
| 33 |
"Programming Language :: Python :: Implementation :: CPython", |
| 34 |
"Programming Language :: Python :: Implementation :: PyPy", |
| 35 |
"Programming Language :: Python :: Implementation :: Jython", |
| 36 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 37 |
"Topic :: Text Processing :: Markup", |
| 38 |
"Typing :: Typed", |
| 39 |
], |
| 40 |
keywords="yaml 1.2 parser round-trip preserve quotes order config", |
| 41 |
read_the_docs="yaml", |
| 42 |
supported=[(2, 7), (3, 5)], # minimum |
| 43 |
tox=dict( |
| 44 |
env="*", # remove 'pn', no longer test narrow Python 2.7 for unicode patterns and PyPy |
| 45 |
deps="ruamel.std.pathlib", |
| 46 |
fl8excl="_test/lib", |
| 47 |
), |
| 48 |
universal=True, |
| 49 |
rtfd="yaml", |
| 50 |
) # type: Dict[Any, Any] |
| 51 |
|
| 52 |
|
| 53 |
version_info = _package_data["version_info"] |
| 54 |
__version__ = _package_data["__version__"] |
| 55 |
|
| 56 |
try: |
| 57 |
from .cyaml import * # NOQA |
| 58 |
|
| 59 |
__with_libyaml__ = True |
| 60 |
except (ImportError, ValueError): # for Jython |
| 61 |
__with_libyaml__ = False |
| 62 |
|
| 63 |
from strictyaml.ruamel.main import * # NOQA |