Mercurial > hg > wordstream
comparison setup.py @ 8:f53171b2acf4
python3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 10:13:50 -0800 |
parents | c576f5877459 |
children | baa70e3b3896 |
comparison
equal
deleted
inserted
replaced
7:c576f5877459 | 8:f53171b2acf4 |
---|---|
1 import os | 1 import os |
2 from setuptools import setup, find_packages | 2 from setuptools import setup, find_packages |
3 | 3 |
4 try: | 4 try: |
5 filename = os.path.join(os.path.dirname(__file__), 'README.txt') | 5 filename = os.path.join(os.path.dirname(__file__), 'README.txt') |
6 description = file(filename).read() | 6 description = open(filename).read() |
7 except: | 7 except: |
8 description = "" | 8 description = "" |
9 | 9 |
10 version = "0.1.2" | 10 version = "0.1.2" |
11 | 11 |
20 license="GPL", | 20 license="GPL", |
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | 21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
22 include_package_data=True, | 22 include_package_data=True, |
23 zip_safe=False, | 23 zip_safe=False, |
24 install_requires=[ | 24 install_requires=[ |
25 # -*- Extra requirements: -*- | 25 'WebOb', |
26 'WebOb', | |
27 'Paste', | 26 'Paste', |
28 'PasteScript', | 27 'PasteScript', |
29 'genshi' | 28 'genshi' |
30 ], | 29 ], |
31 entry_points=""" | 30 entry_points=""" |
35 | 34 |
36 [console_scripts] | 35 [console_scripts] |
37 wordstream = wordstream.main:main | 36 wordstream = wordstream.main:main |
38 dissociate = wordstream.dissociate:main | 37 dissociate = wordstream.dissociate:main |
39 """, | 38 """, |
40 ) | 39 ) |
41 |