Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/ruamel/yaml/__init__.py @ 1:56ad4e20f292 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:32:28 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:d30785e31577 | 1:56ad4e20f292 |
---|---|
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='ruamel.yaml', | |
10 version_info=(0, 16, 0), | |
11 __version__='0.16.0', | |
12 author='Anthon van der Neut', | |
13 author_email='a.van.der.neut@ruamel.eu', | |
14 description='ruamel.yaml 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={':platform_python_implementation=="CPython" and python_version<="2.7"': [ | |
18 'ruamel.ordereddict', | |
19 ], ':platform_python_implementation=="CPython" and python_version<"3.8"': [ | |
20 'ruamel.yaml.clib', | |
21 ], 'jinja2': ['ruamel.yaml.jinja2>=0.2'], 'docs': ['ryd']}, | |
22 # NOQA | |
23 # test='#include "ext/yaml.h"\n\nint main(int argc, char* argv[])\n{\nyaml_parser_t parser;\nparser = parser; /* prevent warning */\nreturn 0;\n}\n', # NOQA | |
24 classifiers=[ | |
25 'Programming Language :: Python :: 2.7', | |
26 'Programming Language :: Python :: 3.5', | |
27 'Programming Language :: Python :: 3.6', | |
28 'Programming Language :: Python :: 3.7', | |
29 'Programming Language :: Python :: Implementation :: CPython', | |
30 'Programming Language :: Python :: Implementation :: PyPy', | |
31 'Programming Language :: Python :: Implementation :: Jython', | |
32 'Topic :: Software Development :: Libraries :: Python Modules', | |
33 'Topic :: Text Processing :: Markup', | |
34 'Typing :: Typed', | |
35 ], | |
36 keywords='yaml 1.2 parser round-trip preserve quotes order config', | |
37 read_the_docs='yaml', | |
38 supported=[(2, 7), (3, 5)], # minimum | |
39 tox=dict( | |
40 env='*pn', # also test narrow Python 2.7.15 for unicode patterns | |
41 deps='ruamel.std.pathlib', | |
42 fl8excl='_test/lib', | |
43 ), | |
44 universal=True, | |
45 rtfd='yaml', | |
46 ) # type: Dict[Any, Any] | |
47 | |
48 | |
49 version_info = _package_data['version_info'] | |
50 __version__ = _package_data['__version__'] | |
51 | |
52 try: | |
53 from .cyaml import * # NOQA | |
54 | |
55 __with_libyaml__ = True | |
56 except (ImportError, ValueError): # for Jython | |
57 __with_libyaml__ = False | |
58 | |
59 from ruamel.yaml.main import * # NOQA |