Mercurial > hg > bzconsole
annotate setup.py @ 41:5d09b4e9a21b
cleanup
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 16 Dec 2012 20:04:03 -0800 |
parents | 0a3c7d8eec72 |
children | db4c67a82b28 |
rev | line source |
---|---|
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
1 from setuptools import setup, find_packages |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
2 import sys, os |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
3 |
33 | 4 version = '0.2.3' |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
5 |
22 | 6 readme = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt') |
7 | |
8 if os.path.exists(readme): | |
9 description = file(readme).read() | |
10 else: | |
11 description = '' | |
12 | |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 setup(name='bzconsole', |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
14 version=version, |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
15 description='console API to bugzilla', |
22 | 16 long_description=description, |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
17 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 keywords='', |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 author='Jeff Hammel', |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
20 author_email='jhammel@mozilla.com', |
22 | 21 url='http://k0s.org/mozilla/hg/bzconsole', |
22 license='MPL', | |
37 | 23 packages=['bzconsole'], |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
24 include_package_data=True, |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
25 zip_safe=False, |
38
0a3c7d8eec72
utilize patch to determine if a patch or not
Jeff Hammel <jhammel@mozilla.com>
parents:
37
diff
changeset
|
26 # http://packages.python.org/distribute/setuptools.html#declaring-dependencies |
37 | 27 install_requires=['patch'], |
28 dependency_links=[ | |
29 'http://python-patch.googlecode.com/svn/trunk/patch.py#egg=patch-0.0' | |
30 ], | |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
31 entry_points=""" |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
32 # -*- Entry points: -*- |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
33 [console_scripts] |
1 | 34 bz = bzconsole.main:main |
0
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
35 """, |
cb5b8d5b76b0
stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
36 ) |