Mercurial > hg > buttercup
annotate setup.py @ 23:425a3c73ac1d
add a convenience method for VCS sources
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 30 May 2011 14:22:22 -0700 |
parents | d51923b276ef |
children | f6b768417d27 |
rev | line source |
---|---|
0
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 from setuptools import find_packages, setup |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 |
4 | 3 try: |
4 description = file("README.txt").read() | |
5 except: | |
6 description = '' | |
7 | |
0
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
8 version='0.0' |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
9 |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 setup(name='buttercup', |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 version=version, |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 description="paste template for creating instances of the buttercup flower website pattern", |
4 | 13 long_description=description, |
0
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
14 author='Jeff Hammel', |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 author_email='k0scist@gmail.com', |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
16 url='http://k0s.org', |
3 | 17 keywords='', |
18 license="GPL", | |
0
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests*']), |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 include_package_data=True, |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 install_requires = [ 'PasteScript' ], |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
22 zip_safe=False, |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
23 entry_points = """ |
12
d51923b276ef
add a command line entry point for maintainer script
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
24 [console_scripts] |
d51923b276ef
add a command line entry point for maintainer script
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
25 buttercup = buttercup.checkout:main |
d51923b276ef
add a command line entry point for maintainer script
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
26 |
0
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
27 [paste.paster_create_template] |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
28 buttercup = buttercup:buttercup |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
29 """, |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
30 ) |
9661071dac87
initial commit of the buttercup flower; just a stub
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
31 |