Skip to content

Commit

Permalink
Abstract value of version (DRY)
Browse files Browse the repository at this point in the history
Closes #11.
  • Loading branch information
jrsmith3 committed Sep 21, 2014
1 parent a174b82 commit 48dfbec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# 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.
sys.path.insert(0, os.path.abspath('..'))
import ibei

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -55,9 +56,9 @@
# built documents.
#
# The short X.Y version.
version = '0.0.2'
version = ibei.__version__
# The full version, including alpha/beta/rc tags.
release = '0.0.2'
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
from distutils.core import setup
import ibei

setup(name = "ibei",
version = "0.0.2",
version = ibei.__version__,
author = "Joshua Ryan Smith",
author_email = "[email protected]",
packages = ["ibei"],
Expand Down

0 comments on commit 48dfbec

Please sign in to comment.