Skip to content

Commit

Permalink
Use setuptools_scm version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
koterpillar committed Mar 23, 2016
1 parent f17f43b commit b046cfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
# built documents.
#
# The short X.Y version.
from setup import __version__
version = release = __version__
from setuptools_scm import get_version
version = release = get_version(root='..')

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ mock
pep8
pylint>=1.5.1
pylint-mccabe
setuptools_scm
Sphinx

0 comments on commit b046cfc

Please sign in to comment.