1# (C) Copyright 2007-2019 Enthought, Inc., Austin, TX 2# All rights reserved. 3# 4# This software is provided without warranty under the terms of the BSD 5# license included in LICENSE.txt and may be redistributed only 6# under the conditions described in the aforementioned license. The license 7# is also available online at http://www.enthought.com/licenses/BSD.txt 8# Thanks for using Enthought open source! 9 10try: 11 from envisage.version import version as __version__ 12except ImportError: 13 # If we get here, we're using a source tree that hasn't been created via 14 # the setup script. 15 __version__ = "unknown" 16 17# Per logging best practices, add a NullHandler to the root 'envisage' 18# logger. 19import logging 20 21logging.getLogger(__name__).addHandler(logging.NullHandler()) 22 23del logging 24