annotate genshi/__init__.py @ 719:4bc6741b2811 trunk

Fix copyright years.
author cmlenz
date Thu, 10 Apr 2008 19:47:27 +0000
parents 073640758a42
children f5d5afd2df2b
rev   line source
1
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
1 # -*- coding: utf-8 -*-
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
2 #
719
4bc6741b2811 Fix copyright years.
cmlenz
parents: 425
diff changeset
3 # Copyright (C) 2006-2007 Edgewall Software
1
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
4 # All rights reserved.
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
5 #
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
230
84168828b074 Renamed Markup to Genshi in repository.
cmlenz
parents: 66
diff changeset
8 # are also available at http://genshi.edgewall.org/wiki/License.
1
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
9 #
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
230
84168828b074 Renamed Markup to Genshi in repository.
cmlenz
parents: 66
diff changeset
12 # history and logs, available at http://genshi.edgewall.org/log/.
1
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
13
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
14 """This package provides various means for generating and processing web markup
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
15 (XML or HTML).
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
16
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
17 The design is centered around the concept of streams of markup events (similar
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
18 in concept to SAX parsing events) which can be processed in a uniform manner
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
19 independently of where or how they are produced.
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
20 """
5479aae32f5a Initial import.
cmlenz
parents:
diff changeset
21
425
073640758a42 Try to use proper reStructuredText for docstrings throughout.
cmlenz
parents: 424
diff changeset
22 __docformat__ = 'restructuredtext en'
424
11355f9db50c Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
cmlenz
parents: 336
diff changeset
23 try:
11355f9db50c Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
cmlenz
parents: 336
diff changeset
24 __version__ = __import__('pkg_resources').get_distribution('Genshi').version
11355f9db50c Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
cmlenz
parents: 336
diff changeset
25 except ImportError:
11355f9db50c Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
cmlenz
parents: 336
diff changeset
26 pass
11355f9db50c Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
cmlenz
parents: 336
diff changeset
27
230
84168828b074 Renamed Markup to Genshi in repository.
cmlenz
parents: 66
diff changeset
28 from genshi.core import *
84168828b074 Renamed Markup to Genshi in repository.
cmlenz
parents: 66
diff changeset
29 from genshi.input import ParseError, XML, HTML
Copyright (C) 2012-2017 Edgewall Software