1234567891011121314151617181920212223242526272829 |
- 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,
- )
|