Mercurial > hg > bzconsole
comparison setup.py @ 22:3b7f4104cd72
add README + release
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Dec 2010 15:33:27 -0800 |
parents | 797e0022d0fa |
children | 2eaf17cb07f6 |
comparison
equal
deleted
inserted
replaced
21:e04729acf5be | 22:3b7f4104cd72 |
---|---|
1 from setuptools import setup, find_packages | 1 from setuptools import setup, find_packages |
2 import sys, os | 2 import sys, os |
3 | 3 |
4 version = '0.1' | 4 version = '0.1' |
5 | 5 |
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 | |
6 setup(name='bzconsole', | 13 setup(name='bzconsole', |
7 version=version, | 14 version=version, |
8 description='console API to bugzilla', | 15 description='console API to bugzilla', |
9 long_description="""\ | 16 long_description=description, |
10 """, | |
11 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | 17 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
12 keywords='', | 18 keywords='', |
13 author='Jeff Hammel', | 19 author='Jeff Hammel', |
14 author_email='jhammel@mozilla.com', | 20 author_email='jhammel@mozilla.com', |
15 url='http://k0s.org/mozilla/', | 21 url='http://k0s.org/mozilla/hg/bzconsole', |
16 license='', | 22 license='MPL', |
17 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | 23 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
18 include_package_data=True, | 24 include_package_data=True, |
19 zip_safe=False, | 25 zip_safe=False, |
20 install_requires=[ | 26 install_requires=[ |
21 # -*- Extra requirements: -*- | 27 # -*- Extra requirements: -*- |
28 'simplejson' | |
22 ], | 29 ], |
23 entry_points=""" | 30 entry_points=""" |
24 # -*- Entry points: -*- | 31 # -*- Entry points: -*- |
25 [console_scripts] | 32 [console_scripts] |
26 bz = bzconsole.main:main | 33 bz = bzconsole.main:main |