mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-27 13:53:24 +00:00
* Unvendor distutils.version. * Fix version. * Assume the collection requires ansible-core 2.12+. This is valid since this only get merged for 3.0.0, which will drop support for quite a few more ansible-core versions. * Mark for re-export.
19 lines
479 B
Python
19 lines
479 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright (c) 2021, Felix Fontein <felix@fontein.de>
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
"""Provide version object to compare version numbers."""
|
|
|
|
from __future__ import absolute_import, division, print_function
|
|
|
|
|
|
__metaclass__ = type
|
|
|
|
|
|
from ansible.module_utils.compat.version import LooseVersion
|
|
|
|
|
|
__all__ = ("LooseVersion",)
|