mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-27 03:54:02 +03:00
91c3ff00ed
- adds `__version_info__` meta for package - update django requirement to 1.7.6 closes #98
4 lines
185 B
Python
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('.')])
|