Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Unify version specifiers. Fixes #5.
Browse files Browse the repository at this point in the history
  • Loading branch information
EnTeQuAk committed Jun 18, 2014
1 parent 431933f commit 5a2f3eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os

import pkg_resources

extensions = []

Expand All @@ -11,8 +11,9 @@
project = u'django-omnibus'
copyright = u'2014, Stephan Jaekel, Norman Rusch'

version = '0.0.1'
release = '0.0.1'
dist = pkg_resources.get_distribution('django_omnibus')
version = dist.version
release = dist.version

exclude_patterns = ['build']

Expand Down
4 changes: 3 additions & 1 deletion omnibus/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
VERSION = '0.0.1'
import pkg_resources

VERSION = pkg_resources.get_distribution('django_omnibus').version

0 comments on commit 5a2f3eb

Please sign in to comment.