Commit 5896424c authored by Jason R. Coombs's avatar Jason R. Coombs

Have the documentation also grab the version from setuptools/__init__.py

parent 0cb9cd7a
......@@ -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.
......
......@@ -16,7 +16,7 @@ def before_upload():
_linkify('CHANGES.txt', 'CHANGES (linked).txt')
files_with_versions = (
'docs/conf.py', 'ez_setup.py', 'setuptools/__init__.py',
'ez_setup.py', 'setuptools/__init__.py',
)
test_info = "Travis-CI tests: http://travis-ci.org/#!/jaraco/setuptools"
......
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