diff options
| author | Bob Halley <halley@dnspython.org> | 2017-01-15 06:25:33 -0800 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2017-01-15 06:25:33 -0800 |
| commit | 9522ac660d9f6c45cc42d6cc2e1d5743b801704a (patch) | |
| tree | 9d821512bca8c549c216b4cf5bc1339f52e89a36 /dns/version.py | |
| parent | 96f10a16a2d853a4e359aaa23c79f7a7fa7c34cf (diff) | |
| download | dnspython-9522ac660d9f6c45cc42d6cc2e1d5743b801704a.tar.gz | |
doco version
Diffstat (limited to 'dns/version.py')
| -rw-r--r-- | dns/version.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/version.py b/dns/version.py index de0fe38..4e7023c 100644 --- a/dns/version.py +++ b/dns/version.py @@ -1,4 +1,4 @@ -# Copyright (C) 2003-2007, 2009-2011 Nominum, Inc. +# Copyright (C) 2003-2017 Nominum, Inc. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, @@ -15,13 +15,19 @@ """dnspython release version information.""" +#: MAJOR MAJOR = 1 +#: MINOR MINOR = 16 +#: MICRO MICRO = 0 +#: RELEASELEVEL RELEASELEVEL = 0x0f +#: SERIAL SERIAL = 0 if RELEASELEVEL == 0x0f: + #: version version = '%d.%d.%d' % (MAJOR, MINOR, MICRO) elif RELEASELEVEL == 0x00: version = '%d.%d.%dx%d' % \ @@ -30,5 +36,6 @@ else: version = '%d.%d.%d%x%d' % \ (MAJOR, MINOR, MICRO, RELEASELEVEL, SERIAL) +#: hexversion hexversion = MAJOR << 24 | MINOR << 16 | MICRO << 8 | RELEASELEVEL << 4 | \ SERIAL |
