Mercurial > mozilla > hg > sendchanges
annotate setup.py @ 3:0b8ad10a510e
make debug-unittest send the debug flag to getlatest
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 21 Oct 2010 14:59:02 -0700 |
parents | f915c612df49 |
children |
rev | line source |
---|---|
0
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
1 # ***** BEGIN LICENSE BLOCK ***** |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
3 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
4 # The contents of this file are subject to the Mozilla Public License Version |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
5 # 1.1 (the "License"); you may not use this file except in compliance with |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
6 # the License. You may obtain a copy of the License at |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
7 # http://www.mozilla.org/MPL/ |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
8 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
9 # Software distributed under the License is distributed on an "AS IS" basis, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
11 # for the specific language governing rights and limitations under the |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
12 # License. |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
13 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
14 # The Original Code is mozilla.org code. |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
15 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
16 # The Initial Developer of the Original Code is |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
17 # Mozilla.org. |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
18 # Portions created by the Initial Developer are Copyright (C) 2010 |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
19 # the Initial Developer. All Rights Reserved. |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
20 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
21 # Contributor(s): |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
22 # Jeff Hammel <jhammel@mozilla.com> (Original author) |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
23 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
24 # Alternatively, the contents of this file may be used under the terms of |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
25 # either of the GNU General Public License Version 2 or later (the "GPL"), |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
26 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
27 # in which case the provisions of the GPL or the LGPL are applicable instead |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
28 # of those above. If you wish to allow use of your version of this file only |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
29 # under the terms of either the GPL or the LGPL, and not to allow others to |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
30 # use your version of this file under the terms of the MPL, indicate your |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
31 # decision by deleting the provisions above and replace them with the notice |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
32 # and other provisions required by the GPL or the LGPL. If you do not delete |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
33 # the provisions above, a recipient may use your version of this file under |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
34 # the terms of any one of the MPL, the GPL or the LGPL. |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
35 # |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
36 # ***** END LICENSE BLOCK ***** |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
37 from setuptools import setup, find_packages |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
38 |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
39 version = '0.0' |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
40 |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
41 setup(name='sendchanges', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
42 version=version, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
43 description="sendchanges script for Mozilla buildbot", |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
44 long_description="""\ |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
45 """, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
46 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
47 keywords='mozilla buildbot', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
48 author='Jeff Hammel', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
49 author_email='jhammel@mozilla.com', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
50 url='http://k0s.org/mozilla/', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
51 license='MPL', |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
52 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
53 include_package_data=True, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
54 zip_safe=False, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
55 install_requires=[ |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
56 # -*- Extra requirements: -*- |
1
f915c612df49
fill out/fix other details for the package
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
57 'GetLatestTinderbox' |
0
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
58 ], |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
59 entry_points=""" |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
60 # -*- Entry points: -*- |
1
f915c612df49
fill out/fix other details for the package
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
61 [console_scripts] |
f915c612df49
fill out/fix other details for the package
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
62 sendchanges = sendchanges.sendchanges:main |
0
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
63 """, |
f1dd1069f53d
initial packaging of sendchanges script
cltbld@localhost.localdomain
parents:
diff
changeset
|
64 ) |