annotate setup.py @ 19:49ff2772891d

handle bytes case
author Jeff Hammel <k0scist@gmail.com>
date Fri, 13 Aug 2021 10:52:57 -0700
parents f53171b2acf4
children baa70e3b3896
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
1 import os
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
2 from setuptools import setup, find_packages
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
3
5
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
4 try:
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
5 filename = os.path.join(os.path.dirname(__file__), 'README.txt')
8
f53171b2acf4 python3
Jeff Hammel <k0scist@gmail.com>
parents: 7
diff changeset
6 description = open(filename).read()
5
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
7 except:
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
8 description = ""
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
9
7
c576f5877459 * fix resolution for bad urls; * change URL post to get
Jeff Hammel <jhammel@mozilla.com>
parents: 5
diff changeset
10 version = "0.1.2"
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
11
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
12 setup(name='wordstream',
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
13 version=version,
4
28c7009bc463 update setup.py
k0s <k0scist@gmail.com>
parents: 3
diff changeset
14 description="word streamer; conversational and dissociatively play with text with a command line and web interface",
5
0c2b1fe8f53f update documentation a little
k0s <k0scist@gmail.com>
parents: 4
diff changeset
15 long_description=description,
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
16 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
17 author='Jeff Hammel',
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
18 author_email='k0scist@gmail.com',
4
28c7009bc463 update setup.py
k0s <k0scist@gmail.com>
parents: 3
diff changeset
19 url='http://k0s.org/hg/wordstream',
28c7009bc463 update setup.py
k0s <k0scist@gmail.com>
parents: 3
diff changeset
20 license="GPL",
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
22 include_package_data=True,
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
23 zip_safe=False,
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
24 install_requires=[
8
f53171b2acf4 python3
Jeff Hammel <k0scist@gmail.com>
parents: 7
diff changeset
25 'WebOb',
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
26 'Paste',
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
27 'PasteScript',
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
28 'genshi'
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
29 ],
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
30 entry_points="""
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
31 # -*- Entry points: -*-
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
32 [paste.app_factory]
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
33 wordstream = wordstream.factory:factory
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
34
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
35 [console_scripts]
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
36 wordstream = wordstream.main:main
3
e21f53582267 adding final dissociation stuff
k0s <k0scist@gmail.com>
parents: 2
diff changeset
37 dissociate = wordstream.dissociate:main
0
8af3412e907a initial import of wordstream
k0s <k0scist@gmail.com>
parents:
diff changeset
38 """,
8
f53171b2acf4 python3
Jeff Hammel <k0scist@gmail.com>
parents: 7
diff changeset
39 )