summaryrefslogtreecommitdiffstats
path: root/feedgen/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'feedgen/version.py')
-rw-r--r--feedgen/version.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/feedgen/version.py b/feedgen/version.py
new file mode 100644
index 0000000..c8f76bf
--- /dev/null
+++ b/feedgen/version.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+'''
+ feedgen.version
+ ~~~~~~~~~~~~~~~
+
+ :copyright: 2013-2018, Lars Kiesow <lkiesow@uos.de>
+
+ :license: FreeBSD and LGPL, see license.* for more details.
+
+'''
+
+'Version of python-feedgen represented as tuple'
+version = (1, 0, 0)
+
+
+'Version of python-feedgen represented as string'
+version_str = '.'.join([str(x) for x in version])
+
+version_major = version[:1]
+version_minor = version[:2]
+version_full = version
+
+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])