cookiecutter-django/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/__init__.py
Saurabh Kumar 91c3ff00ed fix(setup.py): do not import package in setup.py
- adds `__version_info__` meta for package
- update django requirement to 1.7.6

closes #98
2015-03-12 13:58:11 +05:30

4 lines
185 B
Python

# -*- coding: utf-8 -*-
__version__ = '{{ cookiecutter.version }}'
__version_info__ = tuple([int(num) if num.isdigit() else num for num in __version__.replace('-', '.', 1).split('.')])