Package madrona :: Module version
[hide private]

Source Code for Module madrona.version

 1  """ 
 2  Used to generated PEP-compliant version numbers 
 3  Here's how this works: 
 4  The version tuple has 5 components 
 5   
 6  1. Major version 
 7  2. Minor version 
 8  3. Revision version 
 9  4. Release type: alpha, beta, rc, OR final 
10  5. Release number 
11   
12  The release number is for "re-releasing" code.  
13  If the release number is > 0, then we get versions like: 
14      (4,0,0,'beta',2) => 4.0.0b2, etc. 
15   
16  If the Release type is final and the release number is zero: 
17      (4,0,0,'final',0) => 4.0 
18   
19  If the release number is 0 and the release type is NOT final, we get: 
20      (4,0,0,'alpha',0) => 4.0dev 
21   
22  If the revision number is > 0, it sneaks in as well: 
23      (4,0,1,'alpha',0) => 4.0.1dev 
24  """ 
25  VERSION = (4, 1, 0, 'alpha', 0) 
26