Module version
[hide private]
[frames] | no frames]

Source Code for Module version

 1  #!/usr/bin/env python 
 2  # -*- coding: utf-8 -*- 
 3  #-------------------------------------------------------------------- 
 4  # Filename: version.py 
 5  # Author: Mazhugin Aleksey 
 6  # Created: 2019/07/25 
 7  # ID: $Id: version.py 63 2019-09-09 15:31:40Z Aleksey $ 
 8  # URL: $URL: file:///D:/svn_/pybag/trunc/src/version.py $ 
 9  # Copyright: Copyright (c) 2019, Mazhugin Aleksey. 
10  # License: BSD 
11  #-------------------------------------------------------------------- 
12   
13  """ 
14  Version information. 
15   
16  :attention: 
17      Always change this file before commit and 
18      commit it with other files. This 
19      is allow SVN change revision number in this 
20      file for last revision. 
21   
22   
23  """ 
24   
25   
26  # 
27  # CHANGE HERE ....................60 
28  # 
29  # 
30  # 
31   
32   
33  __docformat__ = 'restructuredtext' 
34   
35   
36  __all__ = ['__version__', '__author__', '__copyright__', '__revision__', '__fullversion__', 
37             '__shortversion__', '__id__', '__commitauthor__', '__commitdate__', 
38             '__committime__', '__year__', '__year_start__'] 
39   
40  __version__ = '0.5.0' 
41  """Version must be in format ``MAJOR.MINOR.PATCH``""" 
42   
43  __author__ = 'Mazhugin Aleksey' 
44   
45  __year__ = '2019' 
46   
47  __year_start__ = '2007' 
48   
49  __copyright__ = 'Copyright (c) %s, Mazhugin Aleksey.' % (__year__,) 
50   
51  __id__ = '$Id: version.py 63 2019-09-09 15:31:40Z Aleksey $' 
52  """VCS ID""" 
53   
54  _, _, __revision__, __commitdate__, __committime__, __commitauthor__, _ = __id__.split() 
55   
56  __fullversion__ = __version__ + ':' + __revision__ 
57  """Full version in format: `` MAJOR.MINOR.PATCH:REVISION``""" 
58   
59  __shortversion__ = __version__.rsplit('.',1)[0] 
60  """Short version in format ``MAJOR.MINOR``""" 
61   
62   
63   
64   
65  del _ 
66