annotate setup.py @ 37:d1b8fc0cb6cb

add patch.py as a dep
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 14 Dec 2012 15:18:01 -0800
parents 19c6b5cea57f
children 0a3c7d8eec72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
19c6b5cea57f version bump
Jeff Hammel <jhammel@mozilla.com>
parents: 28
diff changeset
4 version = '0.2.3'
0
cb5b8d5b76b0 stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5
22
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
6 readme = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt')
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
7
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
8 if os.path.exists(readme):
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
9 description = file(readme).read()
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
10 else:
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
11 description = ''
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
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
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
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
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
21 url='http://k0s.org/mozilla/hg/bzconsole',
3b7f4104cd72 add README + release
Jeff Hammel <jhammel@mozilla.com>
parents: 1
diff changeset
22 license='MPL',
37
d1b8fc0cb6cb add patch.py as a dep
Jeff Hammel <jhammel@mozilla.com>
parents: 33
diff changeset
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,
37
d1b8fc0cb6cb add patch.py as a dep
Jeff Hammel <jhammel@mozilla.com>
parents: 33
diff changeset
26 install_requires=['patch'],
d1b8fc0cb6cb add patch.py as a dep
Jeff Hammel <jhammel@mozilla.com>
parents: 33
diff changeset
27 dependency_links=[
d1b8fc0cb6cb add patch.py as a dep
Jeff Hammel <jhammel@mozilla.com>
parents: 33
diff changeset
28 'http://python-patch.googlecode.com/svn/trunk/patch.py#egg=patch-0.0'
d1b8fc0cb6cb add patch.py as a dep
Jeff Hammel <jhammel@mozilla.com>
parents: 33
diff changeset
29 ],
0
cb5b8d5b76b0 stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 entry_points="""
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 [console_scripts]
1
797e0022d0fa change application name
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
33 bz = bzconsole.main:main
0
cb5b8d5b76b0 stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
34 """,
cb5b8d5b76b0 stub for bugzilla console application
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
35 )