Skip to content

Commit

Permalink
Pull version number from sunvox module
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewryanscott committed Nov 8, 2016
1 parent 8cac251 commit 7f5a36d
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
Expand Up @@ -16,6 +16,8 @@
import sys
import os

import sunvox

# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -60,9 +62,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1.0.01090100'
version = '.'.join(sunvox.__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = '0.1.0.01090100'
release = sunvox.__version__

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

0 comments on commit 7f5a36d

Please sign in to comment.