Mercurial > bitten > bitten-test
annotate setup-slave.py @ 602:5e2de07e59f3
0.6dev: Formatting typo in [675].
author | osimons |
---|---|
date | Thu, 30 Jul 2009 10:57:48 +0000 |
parents | 5f3e66e5b451 |
children | 327dca35a74f |
rev | line source |
---|---|
511
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
1 #!/usr/bin/env python |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
3 # |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
4 # Copyright (C) 2007 Edgewall Software |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
5 # Copyright (C) 2005-2007 Christopher Lenz <cmlenz@gmx.de> |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
6 # Copyright (C) 2005-2007 David Fraser <davidf@sjsoft.com> |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
7 # All rights reserved. |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
8 # |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
9 # This software is licensed as described in the file COPYING, which |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
10 # you should have received as part of this distribution. The terms |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
11 # are also available at http://bitten.edgewall.org/wiki/License. |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
12 |
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:
511
diff
changeset
|
13 from setuptools import setup as setup_slave |
511
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
14 from setuptools.command import egg_info |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
15 |
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:
511
diff
changeset
|
16 from setup import recipe_commands, shared_args |
511
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
17 |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
18 # TODO: there must be a way to pass this altered value in... |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
19 egg_info.manifest_maker.template = "MANIFEST-SLAVE.in" |
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
20 |
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:
511
diff
changeset
|
21 if __name__ == '__main__': |
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:
511
diff
changeset
|
22 setup_slave( |
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:
511
diff
changeset
|
23 name = 'Bitten-Slave', |
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:
511
diff
changeset
|
24 description = 'Continuous integration build slave for Trac', |
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:
511
diff
changeset
|
25 long_description = \ |
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:
511
diff
changeset
|
26 """A slave for running builds and submitting them to Bitten, the continuous integration system for Trac""", |
511
79bf2969613d
Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff
changeset
|
27 |
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:
511
diff
changeset
|
28 py_modules = ["bitten.__init__", |
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:
511
diff
changeset
|
29 "bitten.build.__init__", |
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:
511
diff
changeset
|
30 "bitten.build.api", |
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:
511
diff
changeset
|
31 "bitten.build.config", |
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:
511
diff
changeset
|
32 "bitten.build.ctools", |
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:
511
diff
changeset
|
33 "bitten.build.hgtools", |
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:
511
diff
changeset
|
34 "bitten.build.javatools", |
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:
511
diff
changeset
|
35 "bitten.build.monotools", |
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:
511
diff
changeset
|
36 "bitten.build.phptools", |
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:
511
diff
changeset
|
37 "bitten.build.pythontools", |
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:
511
diff
changeset
|
38 "bitten.build.shtools", |
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:
511
diff
changeset
|
39 "bitten.build.svntools", |
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:
511
diff
changeset
|
40 "bitten.build.xmltools", |
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:
511
diff
changeset
|
41 "bitten.recipe", |
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:
511
diff
changeset
|
42 "bitten.slave", |
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:
511
diff
changeset
|
43 "bitten.util.__init__", |
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:
511
diff
changeset
|
44 "bitten.util.testrunner", |
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:
511
diff
changeset
|
45 "bitten.util.xmlio", |
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:
511
diff
changeset
|
46 ], |
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:
511
diff
changeset
|
47 entry_points = { |
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:
511
diff
changeset
|
48 'console_scripts': [ |
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:
511
diff
changeset
|
49 'bitten-slave = bitten.slave:main' |
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:
511
diff
changeset
|
50 ], |
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:
511
diff
changeset
|
51 'bitten.recipe_commands': recipe_commands |
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:
511
diff
changeset
|
52 }, |
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:
511
diff
changeset
|
53 |
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:
511
diff
changeset
|
54 **shared_args |
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:
511
diff
changeset
|
55 ) |