Skip to content

Commit

Permalink
starting
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Oct 1, 2015
1 parent e6b1b5e commit dbec738
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nikola/__main__.py
Expand Up @@ -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."""
Expand Down

0 comments on commit dbec738

Please sign in to comment.