~launchpad-pqm/lazr.delegates/devel

1.1.3 by Gary Poster
update license and buildout
1
# Copyright 2008 Canonical Ltd.  All rights reserved.
2
#
3
# This file is part of lazr.delegates.
4
#
5
# lazr.delegates is free software: you can redistribute it and/or modify it
6
# under the terms of the GNU Lesser General Public License as published by
7
# the Free Software Foundation, version 3 of the License.
8
#
9
# lazr.delegates is distributed in the hope that it will be useful, but
10
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
12
# License for more details.
13
#
14
# You should have received a copy of the GNU Lesser General Public License
15
# along with lazr.delegates.  If not, see <http://www.gnu.org/licenses/>.
16
17
"""Decorator helpers that simplify class composition."""
18
1.1.4 by Gary Poster
1.0.1
19
__version__ = '1.0.1'
1.1.3 by Gary Poster
update license and buildout
20
21
# Re-export in such a way that __version__ can still be imported if
22
# dependencies are not yet available.
23
try:
24
    # While we generally frown on "*" imports, this, combined with the fact we
25
    # only test code from this module, means that we can verify what has been
26
    # exported.
27
    from lazr.delegates._delegates import *
28
    from lazr.delegates._delegates import __all__
29
except ImportError:
30
    pass