changeset 425:818c81fad00c

The slave shouldn't depend on Trac, so remove the related import. Also, automatically fetch the version number from the setup script.
author cmlenz
date Sat, 11 Aug 2007 19:28:56 +0000
parents bc81d7b069ff
children a08fa5ce9aff
files bitten/__init__.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/__init__.py
+++ b/bitten/__init__.py
@@ -8,7 +8,8 @@
 # you should have received as part of this distribution. The terms
 # are also available at http://bitten.edgewall.org/wiki/License.
 
-from bitten.api import *
-
 __docformat__ = 'restructuredtext en'
-__version__ = '0.6'
+try:
+    __version__ = __import__('pkg_resources').get_distribution('Bitten').version
+except ImportError:
+    pass
Copyright (C) 2012-2017 Edgewall Software