mirror of
https://github.com/Ladebeze66/projetcbaollm.git
synced 2025-12-16 20:47:52 +01:00
19 lines
540 B
Python
19 lines
540 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) The python-semanticversion project
|
|
# This code is distributed under the two-clause BSD License.
|
|
|
|
|
|
from .base import compare, match, validate, SimpleSpec, NpmSpec, Spec, SpecItem, Version
|
|
|
|
|
|
__author__ = "Raphaël Barrois <raphael.barrois+semver@polytechnique.org>"
|
|
try:
|
|
# Python 3.8+
|
|
from importlib.metadata import version
|
|
|
|
__version__ = version("semantic_version")
|
|
except ImportError:
|
|
import pkg_resources
|
|
|
|
__version__ = pkg_resources.get_distribution("semantic_version").version
|