annotate setup-slave.py @ 569:74bc339ce7d5

0.6dev: Fixing digest authentication in #330. Instead of having a single `urllib2` opener for the life of the slave, a new opener object is created for each request.
author osimons
date Sun, 05 Jul 2009 11:33:09 +0000
parents 79bf2969613d
children 5f3e66e5b451
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
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
13 from setuptools import setup
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
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
16 NS = 'http://bitten.cmlenz.net/tools/'
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
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
21 setup(
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
22 name = 'Bitten-Slave',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
23 version = '0.6',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
24 description = 'Continuous integration build slave for Trac',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
25 long_description = \
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
26 """A slave for running builds and submitting them to Bitten, the continuous integration system for Trac""",
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
27 author = 'Edgewall Software',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
28 author_email = 'info@edgewall.org',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
29 license = 'BSD',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
30 url = 'http://bitten.edgewall.org/',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
31 download_url = 'http://bitten.edgewall.org/wiki/Download',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
32 zip_safe = False,
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
33
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
34 py_modules = ["bitten.__init__", "bitten.slave",
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
35 "bitten.build.__init__", "bitten.build.api", "bitten.build.config",
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
36 "bitten.recipe", "bitten.tests.slave",
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
37 "bitten.util.__init__", "bitten.util.testrunner", "bitten.util.xmlio",
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
38 ],
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
39 test_suite = 'bitten.tests.slave',
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
40 entry_points = {
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
41 'console_scripts': [
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
42 'bitten-slave = bitten.slave:main'
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
43 ],
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
44 'distutils.commands': [
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
45 'unittest = bitten.util.testrunner:unittest'
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
46 ],
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
47 },
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
48 )
79bf2969613d Added version of `setup.py` that handles building just the slave modules. See #367
dfraser
parents:
diff changeset
49
Copyright (C) 2012-2017 Edgewall Software