Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

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

""" 

Used to generated PEP-compliant version numbers 

Here's how this works: 

The version tuple has 5 components 

 

1. Major version 

2. Minor version 

3. Revision version 

4. Release type: alpha, beta, rc, OR final 

5. Release number 

 

The release number is for "re-releasing" code.  

If the release number is > 0, then we get versions like: 

    (4,0,0,'beta',2) => 4.0.0b2, etc. 

 

If the Release type is final and the release number is zero: 

    (4,0,0,'final',0) => 4.0 

 

If the release number is 0 and the release type is NOT final, we get: 

    (4,0,0,'alpha',0) => 4.0dev 

 

If the revision number is > 0, it sneaks in as well: 

    (4,0,1,'alpha',0) => 4.0.1dev 

""" 

VERSION = (4, 1, 0, 'alpha', 0)