Commit 43f8c9aa authored by Jason R. Coombs's avatar Jason R. Coombs

For docs, load the setuptools version from the setup script, where it's...

For docs, load the setuptools version from the setup script, where it's authoritative, rather than from the library, which might not be ./setuptools
parent 2f182743
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment