forked from tobinus/python-podgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.py
35 lines (25 loc) · 932 Bytes
/
version.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- coding: utf-8 -*-
"""
podgen.version
~~~~~~~~~~~~~~~
:copyright: 2013-2015, Lars Kiesow <[email protected]> and 2016, Thorben Dahl
:license: FreeBSD and LGPL, see license.* for more details.
"""
# Support for Python 2.7
from __future__ import absolute_import, division, print_function, unicode_literals
from builtins import *
'Version of python-podgen represented as tuple'
version = (1, 1, 0)
'Version of python-podgen 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])
'Name of this project'
name = "python-podgen"
'Website of this project'
website = "https://podgen.readthedocs.org"