HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //lib64/python3.8/site-packages/cryptography/__init__.py
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

import sys
import warnings

from cryptography.__about__ import (
    __author__,
    __copyright__,
    __version__,
)
from cryptography.utils import CryptographyDeprecationWarning


__all__ = [
    "__version__",
    "__author__",
    "__copyright__",
]

if sys.version_info[:2] == (3, 6):
    warnings.warn(
        "Python 3.6 is no longer supported by the Python core team. "
        "Therefore, support for it is deprecated in cryptography and will be"
        " removed in a future release.",
        CryptographyDeprecationWarning,
        stacklevel=2,
    )