Mercurial > bitten > bitten-test
annotate bitten/__init__.py @ 598:5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
author | osimons |
---|---|
date | Wed, 29 Jul 2009 12:24:43 +0000 |
parents | 818c81fad00c |
children | cc1fefd5d814 |
rev | line source |
---|---|
379 | 1 # -*- coding: utf-8 -*- |
5 | 2 # |
408
933105ab516b
Update file headers and other stuff pointing to the old home.
cmlenz
parents:
379
diff
changeset
|
3 # Copyright (C) 2007 Edgewall Software |
933105ab516b
Update file headers and other stuff pointing to the old home.
cmlenz
parents:
379
diff
changeset
|
4 # Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de> |
163 | 5 # All rights reserved. |
5 | 6 # |
163 | 7 # This software is licensed as described in the file COPYING, which |
8 # you should have received as part of this distribution. The terms | |
408
933105ab516b
Update file headers and other stuff pointing to the old home.
cmlenz
parents:
379
diff
changeset
|
9 # are also available at http://bitten.edgewall.org/wiki/License. |
5 | 10 |
411
a169d2e96463
Use reStructuredText as the API documentation syntax.
cmlenz
parents:
408
diff
changeset
|
11 __docformat__ = 'restructuredtext en' |
425
818c81fad00c
The slave shouldn't depend on Trac, so remove the related import. Also, automatically fetch the version number from the setup script.
cmlenz
parents:
411
diff
changeset
|
12 try: |
818c81fad00c
The slave shouldn't depend on Trac, so remove the related import. Also, automatically fetch the version number from the setup script.
cmlenz
parents:
411
diff
changeset
|
13 __version__ = __import__('pkg_resources').get_distribution('Bitten').version |
598
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
14 except: |
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
15 try: |
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
16 __version__ = __import__('pkg_resources').get_distribution( |
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
17 'Bitten-Slave').version |
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
18 except: |
5f3e66e5b451
0.6dev: Running `python setup-slave.py install` now works for installing only the parts of Bitten needed by slave to run builds. Closes #383.
osimons
parents:
425
diff
changeset
|
19 pass |