aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/conf.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index fbdb8b51..661ac486 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,8 +14,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys, os
-import setuptools
+import setup
# 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
@@ -49,9 +48,9 @@ copyright = '2009-2013, The fellowship of the packaging'
# built documents.
#
# The short X.Y version.
-version = setuptools.__version__
+version = setup.setup_params['version']
# The full version, including alpha/beta/rc tags.
-release = setuptools.__version__
+release = setup.setup_params['version']
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.