summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-04 14:37:19 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-05 15:08:27 +0200
commit29bc551a9403e1720e27a705ddbc2ef1d3742388 (patch)
tree8bf98071b1d8c45c080f9551a3b59a481208177f /doc/conf.py
parent95b20ce7cc9ed89a8dbd3be848491d6ca70abae1 (diff)
downloadpylint-git-29bc551a9403e1720e27a705ddbc2ef1d3742388.tar.gz
Move informations that never change in the setup.py
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py4
1 files changed, 2 insertions, 2 deletions
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.