Mercurial > hg > autobot
annotate setup.py @ 306:ade2f3ef69a0
STUB: setup.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 11 May 2014 10:17:02 -0700 |
parents | 52baa0f2995a |
children | 9f593b71e2d4 |
rev | line source |
---|---|
305
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
1 import os |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
2 import sys |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
3 from setuptools import setup |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
4 |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
5 short_description = "buildbot front-end incarnation" |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
6 try: |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
7 description = file('README.txt').read() |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
8 except IOError: |
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
9 description = short_description |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
10 |
191
7789fe9f8c30
WIP to download some version of Firefox, let alone a good one
Jeff Hammel <jhammel@mozilla.com>
parents:
159
diff
changeset
|
11 version = '0.1' |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
12 |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 setup(name='autobot', |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
14 version=version, |
306 | 15 description=short_description, |
305
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
16 long_description=description, |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
17 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 keywords='buildbot automation', |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 author='Jeff Hammel', |
288
b6d0ce3cf430
dereference + repurposes (round1)
Jeff Hammel <k0scist@gmail.com>
parents:
271
diff
changeset
|
20 author_email='k0scist@gmail.com', |
b6d0ce3cf430
dereference + repurposes (round1)
Jeff Hammel <k0scist@gmail.com>
parents:
271
diff
changeset
|
21 url='http://k0s.org/hg/autobot', |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
22 license='MPL', |
305
52baa0f2995a
long description from README.txt
Jeff Hammel <k0scist@gmail.com>
parents:
304
diff
changeset
|
23 packages=['autobot'], |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
24 include_package_data=True, |
126
a9ac38655f75
fight with package_data, as usual
Jeff Hammel <jhammel@mozilla.com>
parents:
125
diff
changeset
|
25 package_data={'': ['template/master/*', |
a9ac38655f75
fight with package_data, as usual
Jeff Hammel <jhammel@mozilla.com>
parents:
125
diff
changeset
|
26 'template/slave/*', |
127 | 27 'template/*.*']}, |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
28 zip_safe=False, |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
29 install_requires=[ |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
30 # -*- Extra requirements: -*- |
238
08610b14a2c1
use buildbot 0.8.5 way of doing things
Jeff Hammel <jhammel@mozilla.com>
parents:
191
diff
changeset
|
31 'buildbot>=0.8.5', |
08610b14a2c1
use buildbot 0.8.5 way of doing things
Jeff Hammel <jhammel@mozilla.com>
parents:
191
diff
changeset
|
32 'buildbot-slave>=0.8.5', |
191
7789fe9f8c30
WIP to download some version of Firefox, let alone a good one
Jeff Hammel <jhammel@mozilla.com>
parents:
159
diff
changeset
|
33 'virtualenv', |
7789fe9f8c30
WIP to download some version of Firefox, let alone a good one
Jeff Hammel <jhammel@mozilla.com>
parents:
159
diff
changeset
|
34 'MakeItSo', |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
35 ], |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
36 entry_points=""" |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
37 # -*- Entry points: -*- |
15 | 38 [console_scripts] |
23
a32a7055f3e6
combine variables for buildbot master+slave
Jeff Hammel <jhammel@mozilla.com>
parents:
20
diff
changeset
|
39 create-autobot = autobot.template:create_autobot |
20
30ec24255ce9
stub out having a slave template too
Jeff Hammel <jhammel@mozilla.com>
parents:
15
diff
changeset
|
40 create-autobot-master = autobot.template:create_master |
30ec24255ce9
stub out having a slave template too
Jeff Hammel <jhammel@mozilla.com>
parents:
15
diff
changeset
|
41 create-autobot-slave = autobot.template:create_slave |
67
e8dabfd24c42
stub for a template to create new autobot factories; unfinished
Jeff Hammel <jhammel@mozilla.com>
parents:
23
diff
changeset
|
42 create-autobot-project = autobot.template:create_project |
304 | 43 parse-autobot-config = autobot.config:main |
0
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
44 """, |
8e14b6322cc7
initial stub for ateam buildbot
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
45 ) |