python-feedgen/feedgen/version.py

26 lines
632 B
Python
Raw Permalink Normal View History

2013-05-16 19:04:03 +02:00
# -*- coding: utf-8 -*-
'''
feedgen.version
~~~~~~~~~~~~~~~
2013-05-16 19:04:03 +02:00
:copyright: 2013-2017, Lars Kiesow <lkiesow@uos.de>
2013-05-16 19:04:03 +02:00
:license: FreeBSD and LGPL, see license.* for more details.
2013-05-16 19:04:03 +02:00
'''
'Version of python-feedgen represented as tuple'
2017-10-14 21:42:14 +02:00
version = (0, 6, 1)
2013-05-16 19:04:03 +02:00
'Version of python-feedgen represented as string'
2013-05-16 19:30:29 +02:00
version_str = '.'.join([str(x) for x in version])
version_major = version[:1]
version_minor = version[:2]
version_full = version
2013-05-16 19:30:29 +02:00
version_major_str = '.'.join([str(x) for x in version_major])
version_minor_str = '.'.join([str(x) for x in version_minor])
version_full_str = '.'.join([str(x) for x in version_full])