Mercurial > hg > CommitWatcher
annotate setup.py @ 17:9ec036da252e
commitwatcher/agent.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 28 Sep 2013 10:19:12 -0700 |
parents | 4cb3971d9d9d |
children |
rev | line source |
---|---|
0 | 1 """ |
2 setup packaging script for CommitWatcher | |
3 """ | |
4 | |
5 import os | |
6 | |
7 version = "0.0" | |
2
4cb3971d9d9d
commitwatcher/__init__.py commitwatcher/agent.py commitwatcher/main.py setup.py commitwatcher/commit.py commitwatcher/store.py mozbasewatcher.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
8 dependencies = ['feedparser', |
4cb3971d9d9d
commitwatcher/__init__.py commitwatcher/agent.py commitwatcher/main.py setup.py commitwatcher/commit.py commitwatcher/store.py mozbasewatcher.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
9 'pypatch', |
4cb3971d9d9d
commitwatcher/__init__.py commitwatcher/agent.py commitwatcher/main.py setup.py commitwatcher/commit.py commitwatcher/store.py mozbasewatcher.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
10 'webob', |
4cb3971d9d9d
commitwatcher/__init__.py commitwatcher/agent.py commitwatcher/main.py setup.py commitwatcher/commit.py commitwatcher/store.py mozbasewatcher.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
11 ] |
0 | 12 |
13 # allow use of setuptools/distribute or distutils | |
14 kw = {} | |
15 try: | |
16 from setuptools import setup | |
17 kw['entry_points'] = """ | |
18 [console_scripts] | |
19 CommitWatcher = commitwatcher.main:main | |
20 """ | |
21 kw['install_requires'] = dependencies | |
22 except ImportError: | |
23 from distutils.core import setup | |
24 kw['requires'] = dependencies | |
25 | |
26 try: | |
27 here = os.path.dirname(os.path.abspath(__file__)) | |
28 description = file(os.path.join(here, 'README.txt')).read() | |
29 except IOError: | |
30 description = '' | |
31 | |
32 | |
33 setup(name='CommitWatcher', | |
34 version=version, | |
35 description="new service to monitor mozbase commits", | |
36 long_description=description, | |
37 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
38 author='Jeff Hammel', | |
39 author_email='jhammel@mozilla.com', | |
40 url='https://bugzilla.mozilla.org/show_bug.cgi?id=895522', | |
41 license='MPL2', | |
42 packages=['commitwatcher'], | |
43 include_package_data=True, | |
44 zip_safe=False, | |
45 **kw | |
46 ) | |
47 |