Mercurial > hg > buttercup
annotate setup.py @ 53:af4155b0a260 default tip
add --prefix option
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Tue, 03 Nov 2020 07:59:36 -0800 |
| parents | 38aa1d47c461 |
| children |
| 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 | |
| 41 | 8 version='0.2.1' |
|
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', |
| 31 | 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, |
| 53 | 21 install_requires = ['PasteScript'], |
|
0
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 |
| 41 | 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 ) |
