comparison genshi/__init__.py @ 902:09cc3627654c experimental-inline

Sync `experimental/inline` branch with [source:trunk@1126].
author cmlenz
date Fri, 23 Apr 2010 21:08:26 +0000
parents 1837f39efd6f
children
comparison
equal deleted inserted replaced
830:de82830f8816 902:09cc3627654c
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 # 2 #
3 # Copyright (C) 2006-2008 Edgewall Software 3 # Copyright (C) 2006-2009 Edgewall Software
4 # All rights reserved. 4 # All rights reserved.
5 # 5 #
6 # This software is licensed as described in the file COPYING, which 6 # This software is licensed as described in the file COPYING, which
7 # you should have received as part of this distribution. The terms 7 # you should have received as part of this distribution. The terms
8 # are also available at http://genshi.edgewall.org/wiki/License. 8 # are also available at http://genshi.edgewall.org/wiki/License.
18 in concept to SAX parsing events) which can be processed in a uniform manner 18 in concept to SAX parsing events) which can be processed in a uniform manner
19 independently of where or how they are produced. 19 independently of where or how they are produced.
20 """ 20 """
21 21
22 __docformat__ = 'restructuredtext en' 22 __docformat__ = 'restructuredtext en'
23 try: 23 __version__ = '0.7'
24 from pkg_resources import get_distribution, ResolutionError
25 try:
26 __version__ = get_distribution('Genshi').version
27 except ResolutionError:
28 __version__ = None # unknown
29 except ImportError:
30 __version__ = None # unknown
31 24
32 from genshi.core import * 25 from genshi.core import *
33 from genshi.input import ParseError, XML, HTML 26 from genshi.input import ParseError, XML, HTML
Copyright (C) 2012-2017 Edgewall Software