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 c8a0daa
Show file tree
Hide file tree
Showing 3 changed files with 10 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
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ basepython = python2.7
commands =
flake8
deps =
django
flake8

[testenv:isort]
basepython = python2.7
commands =
isort --recursive --check-only --diff polymodels tests
deps =
django
isort

0 comments on commit c8a0daa

Please sign in to comment.