Skip to content

Commit

Permalink
Changed to use __version__.
Browse files Browse the repository at this point in the history
arkottke committed Feb 28, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 77a57e1 commit 6da7888
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@
import sys
import os

import pyrvt

from unittest.mock import MagicMock

# Mock modules for modules that depend on C
@@ -69,9 +71,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = '0.1'
version = pyrvt.__version__
# The full version, including alpha/beta/rc tags.
release = '0.1'
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

0 comments on commit 6da7888

Please sign in to comment.