From 29bc551a9403e1720e27a705ddbc2ef1d3742388 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 4 Apr 2021 14:37:19 +0200 Subject: Move informations that never change in the setup.py --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/conf.py') diff --git a/doc/conf.py b/doc/conf.py index a727c75e3..d76cc67e3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -19,7 +19,7 @@ from datetime import datetime # built documents. # # The short X.Y version. -from pylint.__pkginfo__ import version +from pylint import __version__ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -58,7 +58,7 @@ current_year = datetime.utcnow().year copyright = f"2003-{current_year}, Logilab, PyCQA and contributors" # The full version, including alpha/beta/rc tags. -release = version +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit v1.2.1