Package oort
[hide private]
[frames] | no frames]

Source Code for Package oort

 1  # -*- coding: UTF-8 -*- 
 2  #-------------------------------------------------------------------------------- 
 3  # The Oort BSD-style License 
 4  # 
 5  # Copyright (c) 2006, 2007 Niklas Lindström <lindstream@gmail.com>. 
 6  # 
 7  # All rights reserved. 
 8  # 
 9  # Redistribution and use in source and binary forms, with or without 
10  # modification, are permitted provided that the following conditions are met: 
11  # 
12  #     * Redistributions of source code must retain the above copyright notice, 
13  #       this list of conditions and the following disclaimer. 
14  #     * Redistributions in binary form must reproduce the above copyright notice, 
15  #       this list of conditions and the following disclaimer in the documentation 
16  #       and/or other materials provided with the distribution. 
17  #     * Neither the name of Oort nor the names of its contributors 
18  #       may be used to endorse or promote products derived from this software 
19  #       without specific prior written permission. 
20  # 
21  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
22  # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
23  # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
24  # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
25  # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
26  # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
27  # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
28  # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
29  # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
30  # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
31  #-------------------------------------------------------------------------------- 
32  """ 
33  The Oort core package. 
34  """ 
35   
36  __docformat__ = 'reStructuredText en' 
37  __author__ = "Niklas Lindström" 
38  __version__ = "0.4" 
39   
40  # This is a namespace package. 
41  try: 
42      import pkg_resources 
43      pkg_resources.declare_namespace(__name__) 
44  except ImportError: 
45      import pkgutil 
46      __path__ = pkgutil.extend_path(__path__, __name__) 
47