1"""
2This package is an implementation of the OpenID specification in
3Python.  It contains code for both server and consumer
4implementations.  For information on implementing an OpenID consumer,
5see the C{L{openid.consumer.consumer}} module.  For information on
6implementing an OpenID server, see the C{L{openid.server.server}}
7module.
8
9@contact: U{http://openid.net/developers/dev-mailing-lists/
10    <http://openid.net/developers/dev-mailing-lists/}
11
12@copyright: (C) 2005-2008 JanRain, Inc.
13
14@license: Licensed under the Apache License, Version 2.0 (the "License");
15    you may not use this file except in compliance with the License.
16    You may obtain a copy of the License at
17    U{http://www.apache.org/licenses/LICENSE-2.0}
18
19    Unless required by applicable law or agreed to in writing, software
20    distributed under the License is distributed on an "AS IS" BASIS,
21    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22    See the License for the specific language governing permissions
23    and limitations under the License.
24"""
25
26__version__ = '[library version:2.2.1]'[17:-1]
27
28__all__ = [
29    'association',
30    'consumer',
31    'cryptutil',
32    'dh',
33    'extension',
34    'extensions',
35    'fetchers',
36    'kvform',
37    'message',
38    'oidutil',
39    'server',
40    'sreg',
41    'store',
42    'urinorm',
43    'yadis',
44    ]
45
46# Parse the version info
47try:
48    version_info = map(int, __version__.split('.'))
49except ValueError:
50    version_info = (None, None, None)
51else:
52    if len(version_info) != 3:
53        version_info = (None, None, None)
54    else:
55        version_info = tuple(version_info)
56