From 5896424c4061b74ed9625077131df0f8e4cd2a10 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 13 Jul 2013 20:48:26 -0400 Subject: Have the documentation also grab the version from setuptools/__init__.py --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 3c71f326..fbdb8b51 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,7 @@ # serve to show the default. import sys, os +import setuptools # 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 @@ -48,9 +49,9 @@ copyright = '2009-2013, The fellowship of the packaging' # built documents. # # The short X.Y version. -version = '0.9.1' +version = setuptools.__version__ # The full version, including alpha/beta/rc tags. -release = '0.9.1' +release = setuptools.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit v1.2.1