diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-25 10:34:33 +0200 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-07-25 10:34:33 +0200 |
commit | 43f8c9aaff8c71c1c1e841827509c405c20ce909 (patch) | |
tree | a888697ffa02a1404d4fa5756473c4faf9670f96 | |
parent | 2f182743da1da836ec7b0cf56fa5e3453cd27ca8 (diff) | |
download | external_python_setuptools-43f8c9aaff8c71c1c1e841827509c405c20ce909.tar.gz external_python_setuptools-43f8c9aaff8c71c1c1e841827509c405c20ce909.tar.bz2 external_python_setuptools-43f8c9aaff8c71c1c1e841827509c405c20ce909.zip |
For docs, load the setuptools version from the setup script, where it's authoritative, rather than from the library, which might not be ./setuptools
-rw-r--r-- | docs/conf.py | 7 |
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. |