annotate setup.py @ 22:17e3a9b6b4e2 default tip

string not tuple
author Jeff Hammel <k0scist@gmail.com>
date Sun, 02 Jun 2024 15:58:09 -0700
parents f7396d92446d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
11173b4a7ca8 avoid namespace collision
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
1 from setuptools import setup
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2
22
17e3a9b6b4e2 string not tuple
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
3 description = "a place to list links + tools"
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4
21
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
5 # :( `twine check` does not like the README
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
6 # because restructured text changed their tbale format
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
7 # https://sublime-and-sphinx-guide.readthedocs.io/en/latest/tables.html
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
8 #try:
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
9 # description = open('README.txt').read()
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
10 #except IOError:
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
11 # description = ''
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
12 long_description = description
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
13
22
17e3a9b6b4e2 string not tuple
Jeff Hammel <k0scist@gmail.com>
parents: 21
diff changeset
14 version = "0.4.3"
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
15
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
16 # dependencies
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
17 dependencies = [
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
18 'WebOb',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
19 'tempita',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
20 'paste',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
21 'pastescript', # technically optional, but here for ease of install
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
22 'whoosh >= 2.5',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
23 'couchdb',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
24 'docutils',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
25 'pyloader',
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
26 'theslasher',
5
bf5386d3c7e4 be less picky about pyes version
Jeff Hammel <k0scist@gmail.com>
parents: 4
diff changeset
27 'pyes',
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
28 ]
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
29
3
11173b4a7ca8 avoid namespace collision
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
30 setup(name='toolk0s',
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
31 version=version,
21
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
32 description=description,
f7396d92446d bump version
Jeff Hammel <k0scist@gmail.com>
parents: 19
diff changeset
33 long_description=long_description,
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
34 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
35 author='Jeff Hammel',
4
Jeff Hammel <k0scist@gmail.com>
parents: 3
diff changeset
36 author_email='k0scist@gmail.com',
3
11173b4a7ca8 avoid namespace collision
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
37 url='http://k0s.org/hg/toolbox/',
0
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
38 license="MPL",
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
39 packages=['toolbox'],
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
40 include_package_data=True,
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
41 zip_safe=False,
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
42 install_requires=dependencies,
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
43 entry_points="""
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
44 # -*- Entry points: -*-
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
45 [console_scripts]
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
46 toolbox-convert-model = toolbox.model:convert
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
47 toolbox-serve = toolbox.factory:main
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
48
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
49 [paste.app_factory]
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
50 toolbox = toolbox.factory:paste_factory
b0942f44413f import from git://github.com/mozilla/toolbox.git
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
51 """,
4
Jeff Hammel <k0scist@gmail.com>
parents: 3
diff changeset
52 )