aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/__init__.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
commit3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 (patch)
treea7cf56282e54f05785243bc1e903d6594f2c06ba /nikola/__init__.py
parent787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff)
New upstream version 8.1.2.upstream/8.1.2
Diffstat (limited to 'nikola/__init__.py')
-rw-r--r--nikola/__init__.py10
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