diff --git a/odml/__init__.py b/odml/__init__.py index 6d35f2db..b67b0366 100644 --- a/odml/__init__.py +++ b/odml/__init__.py @@ -30,7 +30,8 @@ def _format_warning(warn_msg, *args, **kwargs): warnings.formatwarning = _format_warning if _python_version.major < 3: - msg = "Python 2 has been deprecated.\n\todML support for Python 2 will be dropped August 2020." + msg = "Python 2 has reached end of live." + msg += "\n\todML support for Python 2 has been dropped." warnings.warn(msg, category=DeprecationWarning, stacklevel=2) elif _python_version.major == 3 and _python_version.minor < 6: msg = "The '%s' package is not tested with your Python version. " % __name__ diff --git a/setup.py b/setup.py index 91019881..f43c24a5 100644 --- a/setup.py +++ b/setup.py @@ -63,8 +63,8 @@ # Make this the last thing people read after a setup.py install if _python_version.major < 3: - msg = "\n\nPython 2 has been deprecated.\n" - msg += "\todML support for Python 2 will be dropped August 2020." + msg = "Python 2 has reached end of live." + msg += "\n\todML support for Python 2 has been dropped." print(msg) elif _python_version.major == 3 and _python_version.minor < 6: msg = "\n\nThis package is not tested with your Python version. "