cookiecutter-django/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/__init__.py
2018-04-08 17:03:29 -05:00

8 lines
189 B
Python

__version__ = "{{ cookiecutter.version }}"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num
for num in __version__.replace("-", ".", 1).split(".")
]
)