From dbec738841d1bc68b8393712df481e334170cf18 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 1 Oct 2015 11:41:16 -0300 Subject: [PATCH] starting --- nikola/__main__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nikola/__main__.py b/nikola/__main__.py index 151a5f807e..e7f55dd11b 100644 --- a/nikola/__main__.py +++ b/nikola/__main__.py @@ -64,6 +64,20 @@ # DO NOT USE unless you know what you are doing! _RETURN_DOITNIKOLA = False +PY2_WARNING = """Nikola is going to deprecate python 2 support in 2016. You already have python 3 +available in your system. Why not switch? + +Please check https://getnikola.com/blog/env-survey-results-and-the-future-of-python-27.html for details.""" + + +PY2_BARBS = [ + "Python 2 has been deprecated for years. Stop clinging to your long gone youth and switch to Python3.", + "Python 2 is the safety blanket of languages. Be a big kid and switch to Python 3", + "Python 2 is old and busted. Python 3 is the new hotness.", + "Nice unicode you have there, would be a shame something happened to it.. switch to python 3!.", + "Don’t get in the way of progress! Upgrade to Python 3 and save a developer’s mind today!", +] + def main(args=None): """Run Nikola."""