__init__.py 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # coding: utf-8
  2. if False: # MYPY
  3. from typing import Dict, Any # NOQA
  4. _package_data = dict(
  5. full_package_name='ruamel.yaml',
  6. version_info=(0, 17, 40),
  7. __version__='0.17.40',
  8. version_timestamp='2023-10-20 14:51:55',
  9. author='Anthon van der Neut',
  10. author_email='a.van.der.neut@ruamel.eu',
  11. description='ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order', # NOQA
  12. entry_points=None,
  13. since=2014,
  14. extras_require={
  15. ':platform_python_implementation=="CPython" and python_version<"3.13"': ['ruamel.yaml.clib>=0.2.7'], # NOQA
  16. 'jinja2': ['ruamel.yaml.jinja2>=0.2'],
  17. 'docs': ['ryd', 'mercurial>5.7'],
  18. },
  19. classifiers=[
  20. 'Programming Language :: Python :: 3 :: Only',
  21. 'Programming Language :: Python :: 3.7',
  22. 'Programming Language :: Python :: 3.8',
  23. 'Programming Language :: Python :: 3.9',
  24. 'Programming Language :: Python :: 3.10',
  25. 'Programming Language :: Python :: 3.11',
  26. 'Programming Language :: Python :: 3.12',
  27. 'Programming Language :: Python :: Implementation :: CPython',
  28. 'Topic :: Software Development :: Libraries :: Python Modules',
  29. 'Topic :: Text Processing :: Markup',
  30. 'Typing :: Typed',
  31. ],
  32. keywords='yaml 1.2 parser round-trip preserve quotes order config',
  33. read_the_docs='yaml',
  34. supported=[(3, 7)], # minimum
  35. tox=dict(
  36. env='*',
  37. fl8excl='_test/lib,branch_default',
  38. ),
  39. # universal=True,
  40. python_requires='>=3',
  41. rtfd='yaml',
  42. ) # type: Dict[Any, Any]
  43. version_info = _package_data['version_info']
  44. __version__ = _package_data['__version__']
  45. try:
  46. from .cyaml import * # NOQA
  47. __with_libyaml__ = True
  48. except (ImportError, ValueError): # for Jython
  49. __with_libyaml__ = False
  50. from ruamel.yaml.main import * # NOQA