1 """
2 This package is an implementation of the OpenID specification in
3 Python. It contains code for both server and consumer
4 implementations. For information on implementing an OpenID consumer,
5 see the C{L{openid.consumer.consumer}} module. For information on
6 implementing an OpenID server, see the C{L{openid.server.server}}
7 module.
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
47 try:
48 version_info = map(int, __version__.split('.'))
49 except ValueError:
50 version_info = (None, None, None)
51 else:
52 if len(version_info) != 3:
53 version_info = (None, None, None)
54 else:
55 version_info = tuple(version_info)
56