diff options
Diffstat (limited to 'nikola/__init__.py')
| -rw-r--r-- | nikola/__init__.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nikola/__init__.py b/nikola/__init__.py index 4ab6e34..4ead429 100644 --- a/nikola/__init__.py +++ b/nikola/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright © 2012-2015 Roberto Alsina and others. +# Copyright © 2012-2020 Roberto Alsina and others. # Permission is hereby granted, free of charge, to any # person obtaining a copy of this software and associated @@ -26,11 +26,15 @@ """Nikola -- a modular, fast, simple, static website generator.""" -from __future__ import absolute_import import os +import sys -__version__ = "7.6.4" +__version__ = '8.1.2' DEBUG = bool(os.getenv('NIKOLA_DEBUG')) +SHOW_TRACEBACKS = bool(os.getenv('NIKOLA_SHOW_TRACEBACKS')) + +if sys.version_info[0] == 2: + raise Exception("Nikola does not support Python 2.") from .nikola import Nikola # NOQA from . import plugins # NOQA |
