Skip to content

Commit

Permalink
Conformed to PEP 396.
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes committed Dec 15, 2015
1 parent 18b8137 commit 95e2011
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion polymodels/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
__version__ = (1, 4, 0, 'alpha', 0)
from __future__ import unicode_literals

from django.utils.version import get_version

VERSION = (1, 4, 0, 'alpha', 0)

__version__ = get_version(VERSION)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='django-polymodels',
version='.'.join(str(v) for v in __version__),
version=__version__,
description='Polymorphic models implementation for django',
long_description=long_desc,
url=github_url,
Expand Down

0 comments on commit 95e2011

Please sign in to comment.