source: tracdarcs/tracdarcs/__init__.py @ 105

Revision 105, 913 bytes checked in by lele@…, 5 years ago (diff)

Don't define and redefine version

Line 
1# -*- coding: iso-8859-1 -*-
2#
3# Copyright (C) 2005 Edgewall Software
4# Copyright (C) 2005,2006 Lele Gaifax <lele@metapensiero.it>
5#
6# This software is licensed as described in the file COPYING, which
7# you should have received as part of this distribution. The terms
8# are also available at http://trac.edgewall.com/license.html.
9#
10# This software consists of voluntary contributions made by many
11# individuals. For the exact contribution history, see the revision
12# history and logs, available at http://projects.edgewall.com/trac/.
13#
14# Author: Lele Gaifax <lele@metapensiero.it>
15
16try:
17    from _version import __version__
18except ImportError:
19    # We're running in a tree that hasn't run darcsver, and didn't come with a
20    # _version.py, so we don't know what our version is. This should not happen
21    # very often.
22    __version__ = "unknown"
23
24from tracdarcs.components import DarcsConnector, DarcsSetup
Note: See TracBrowser for help on using the repository browser.