@@ -20,34 +20,40 @@ def find_version(*file_paths):
2020 version_file , re .M )
2121 if version_match :
2222 return version_match .group (1 )
23- raise RuntimeError ("Unable to find version string." )
23+ raise RuntimeError ('Unable to find version string.' )
24+
25+ with open ("README.rst" , "r" ) as fh :
26+ long_description = fh .read ()
2427
2528setup (name = 'slackeventsapi' ,
2629 version = find_version ('slackeventsapi' , 'version.py' ),
27- description = 'Python Slack Events API adapter' ,
30+ description = 'Python Slack Events API adapter for Flask ' ,
2831 url = 'http://github.com/slackapi/python-slack-events-api' ,
2932 author = 'Slack Technologies, Inc.' ,
30333134 license = 'MIT' ,
3235 packages = ['slackeventsapi' ],
36+ long_description_content_type = 'text/x-rst' ,
37+ long_description = long_description ,
3338 install_requires = [
34- 'flask' ,
35- 'pyee' ,
36- 'requests' ,
37- 'six' ,
39+ 'flask>=1,<2' ,
40+ 'pyee>=7,<8' ,
41+ 'itsdangerous<2' , # for Python 2.7
42+ 'Jinja2<3' , # for Python 2.7
43+ 'MarkupSafe<2' , # for Python 2.7
3844 ],
3945 classifiers = [
40- " Development Status :: 5 - Production/Stable" ,
41- " Intended Audience :: Developers" ,
42- " Topic :: Communications :: Chat" ,
43- " Topic :: System :: Networking" ,
44- " Topic :: Office/Business" ,
45- " License :: OSI Approved :: MIT License" ,
46- " Programming Language :: Python" ,
47- " Programming Language :: Python :: 2.7" ,
48- " Programming Language :: Python :: 3.5" ,
49- " Programming Language :: Python :: 3.6" ,
50- " Programming Language :: Python :: 3.7" ,
51- " Programming Language :: Python :: 3.8" ,
46+ ' Development Status :: 5 - Production/Stable' ,
47+ ' Intended Audience :: Developers' ,
48+ ' Topic :: Communications :: Chat' ,
49+ ' Topic :: System :: Networking' ,
50+ ' Topic :: Office/Business' ,
51+ ' License :: OSI Approved :: MIT License' ,
52+ ' Programming Language :: Python' ,
53+ ' Programming Language :: Python :: 2.7' ,
54+ ' Programming Language :: Python :: 3.5' ,
55+ ' Programming Language :: Python :: 3.6' ,
56+ ' Programming Language :: Python :: 3.7' ,
57+ ' Programming Language :: Python :: 3.8' ,
5258 ],
5359 zip_safe = False )
0 commit comments