setup.py: remove obsolete version_info conditionals

None of these will run since the base version is now Python 3.4.
This commit is contained in:
James Lu 2020-01-05 11:32:28 -08:00
parent 5c2e16f391
commit 1ab9f4642e

View File

@ -241,33 +241,4 @@ setup(
) )
if sys.version_info < (2, 7, 9):
warnings.warn('Running Limnoria on Python older than 2.7.9 is not '
'recommended because it does not support SSL '
'certificate verification. For more informations, see: '
'<http://doc.supybot.aperio.fr/en/latest/use/security.html#ssl-python-versions>',
DeprecationWarning)
elif sys.version_info < (3, 0):
pass
elif sys.version_info < (3, 4):
warnings.warn('Running Limnoria on Python 3.2 or 3.3 is not '
'recommended because these versions do not support SSL '
'certificate verification. For more informations, see: '
'<http://doc.supybot.aperio.fr/en/latest/use/security.html#ssl-python-versions>',
DeprecationWarning)
if sys.version_info < (3, 0):
warnings.warn('You are installing Limnoria for Python 2. While Python 2 '
'is currently supported by Limnoria, this may change in the near '
'future. If there is anything preventing you frorm upgrading to '
'Python 3 (incompatible third-party plugin, ...), please open a '
'bug at <https://github.com/ProgVal/Limnoria/issues> and we\'ll '
'see together what we can do about it.',
DeprecationWarning)
if sys.version_info < (3, 3):
warnings.warn('You are installing Limnoria for Python < 3.3, which is '
'only partially support. Limnoria requires Python 3.4 or later '
'to be fully stable.',
DeprecationWarning)
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: