From 3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 3 Feb 2021 19:17:00 -0500 Subject: New upstream version 8.1.2. --- nikola/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nikola/__init__.py') 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 -- cgit v1.2.3