#!/usr/bin/env python3
#
# Copyright (c) Bo Peng and the University of Texas MD Anderson Cancer Center
# Distributed under the terms of the 3-clause BSD License.

import sys

__all__ = ["__version__", "SOS_FULL_VERSION"]

_py_ver = sys.version_info
if _py_ver.major == 2 or (
    _py_ver.major == 3 and (_py_ver.minor, _py_ver.micro) < (7, 0)
):
    raise SystemError(
        f"SOS requires Python 3.7 or higher. Please upgrade your Python {_py_ver.major}.{_py_ver.minor}.{_py_ver.micro}."
    )

# version of the SoS language
__sos_version__ = "1.0"
# version of the sos command
__version__ = "0.24.7"
__py_version__ = f"{_py_ver.major}.{_py_ver.minor}.{_py_ver.micro}"

#
SOS_FULL_VERSION = (
    f"{__version__} for Python {_py_ver.major}.{_py_ver.minor}.{_py_ver.micro}"
)
SOS_COPYRIGHT = f"""SoS {__version__} : Copyright (c) 2016 Bo Peng"""
SOS_CONTACT = """Please visit http://github.com/vatlab/SOS for more information."""
