Skip to content

Commit dbec738

Browse files
committedOct 1, 2015
starting
1 parent e6b1b5e commit dbec738

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎nikola/__main__.py

+14
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@
6464
# DO NOT USE unless you know what you are doing!
6565
_RETURN_DOITNIKOLA = False
6666

67+
PY2_WARNING = """Nikola is going to deprecate python 2 support in 2016. You already have python 3
68+
available in your system. Why not switch?
69+
70+
Please check https://getnikola.com/blog/env-survey-results-and-the-future-of-python-27.html for details."""
71+
72+
73+
PY2_BARBS = [
74+
"Python 2 has been deprecated for years. Stop clinging to your long gone youth and switch to Python3.",
75+
"Python 2 is the safety blanket of languages. Be a big kid and switch to Python 3",
76+
"Python 2 is old and busted. Python 3 is the new hotness.",
77+
"Nice unicode you have there, would be a shame something happened to it.. switch to python 3!.",
78+
"Don’t get in the way of progress! Upgrade to Python 3 and save a developer’s mind today!",
79+
]
80+
6781

6882
def main(args=None):
6983
"""Run Nikola."""

0 commit comments

Comments
 (0)
Please sign in to comment.