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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
3 try:
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
4 description = file("README.txt").read()
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
5 except:
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
6 description = ''
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
7
41
38aa1d47c461 add a source
Jeff Hammel <jhammel@mozilla.com>
parents: 32
diff changeset
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
1fa9ca23d696 include description from README
k0s <k0scist@gmail.com>
parents: 0
diff changeset
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
f6b768417d27 now listing kinda works
Jeff Hammel <jhammel@mozilla.com>
parents: 12
diff changeset
16 url='http://k0s.org/',
3
f207357d7ca9 remove bad keywords
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
17 keywords='',
f207357d7ca9 remove bad keywords
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
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
af4155b0a260 add --prefix option
Jeff Hammel <k0scist@gmail.com>
parents: 41
diff changeset
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
38aa1d47c461 add a source
Jeff Hammel <jhammel@mozilla.com>
parents: 32
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 )