mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 05:03:07 +01:00
Add link to FAQ items on how to upgrade to Python 3.
This commit is contained in:
parent
8c3946d31c
commit
880addf256
15
setup.py
15
setup.py
@ -236,11 +236,14 @@ setup(
|
||||
|
||||
)
|
||||
|
||||
if sys.version_info < (2, 7, 9):
|
||||
sys.stderr.write('+------------------------------------------------+\n')
|
||||
sys.stderr.write('| Running Limnoria on Python versions older than |\n')
|
||||
sys.stderr.write('| 2.7.9 is deprecated. |\n')
|
||||
sys.stderr.write('| Please consider upgrading to Python 3.x. |\n')
|
||||
sys.stderr.write('+------------------------------------------------+\n')
|
||||
if sys.version_info < (2, 7, 9) or True:
|
||||
sys.stderr.write('+-----------------------------------------------------+\n')
|
||||
sys.stderr.write('| Running Limnoria on Python versions older than |\n')
|
||||
sys.stderr.write('| 2.7.9 is deprecated. |\n')
|
||||
sys.stderr.write('| Please consider upgrading to Python 3.4 or greater. |\n')
|
||||
sys.stderr.write('+-----------------------------------------------------+\n')
|
||||
sys.stderr.write('\n')
|
||||
sys.stderr.write('See <http://doc.supybot.aperio.fr/en/latest/use/faq.html#how-to-make-limnoria-use-python-3-instead-of-python-2>\n')
|
||||
sys.stderr.write('\n')
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
@ -171,6 +171,7 @@ else:
|
||||
logger.critical('This Python version does not support SSL/TLS '
|
||||
'certification authority verification, which makes your '
|
||||
'connection vulnerable to man-in-the-middle attacks.'
|
||||
'You should consider upgrading to Python 3.4 or newer.')
|
||||
'You should consider upgrading to Python 3.4 or newer. '
|
||||
'See <http://doc.supybot.aperio.fr/en/latest/use/faq.html#how-to-make-limnoria-use-python-3-instead-of-python-2>')
|
||||
return conn
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
Loading…
Reference in New Issue
Block a user