Mercurial > hg > wordstream
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 |
rev | line source |
---|---|
5 | 1 import os |
0 | 2 from setuptools import setup, find_packages |
3 | |
5 | 4 try: |
5 filename = os.path.join(os.path.dirname(__file__), 'README.txt') | |
8 | 6 description = open(filename).read() |
5 | 7 except: |
8 description = "" | |
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 | 11 |
12 setup(name='wordstream', | |
13 version=version, | |
4 | 14 description="word streamer; conversational and dissociatively play with text with a command line and web interface", |
5 | 15 long_description=description, |
0 | 16 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
17 author='Jeff Hammel', | |
18 author_email='k0scist@gmail.com', | |
4 | 19 url='http://k0s.org/hg/wordstream', |
20 license="GPL", | |
0 | 21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
22 include_package_data=True, | |
23 zip_safe=False, | |
24 install_requires=[ | |
8 | 25 'WebOb', |
0 | 26 'Paste', |
27 'PasteScript', | |
28 'genshi' | |
29 ], | |
30 entry_points=""" | |
31 # -*- Entry points: -*- | |
32 [paste.app_factory] | |
33 wordstream = wordstream.factory:factory | |
34 | |
35 [console_scripts] | |
36 wordstream = wordstream.main:main | |
3 | 37 dissociate = wordstream.dissociate:main |
0 | 38 """, |
8 | 39 ) |