66from stream import __version__ , __maintainer__ , __email__ , __license__
77import sys
88
9- unit = 'unittest2py3k' if sys .version_info > (3 , 0 , 0 ) else 'unittest2'
10- tests_require = [
11- unit ,
12- 'pytest==3.2.5' ,
13- 'unittest2' ,
14- 'pytest-cov' ,
15- 'python-dateutil'
16- ]
9+ unit = "unittest2py3k" if sys .version_info > (3 , 0 , 0 ) else "unittest2"
10+ tests_require = [unit , "pytest==3.2.5" , "unittest2" , "pytest-cov" , "python-dateutil" ]
1711
18- long_description = open (' README.md' , 'r' ).read ()
12+ long_description = open (" README.md" , "r" ).read ()
1913
20- requests = ' requests>=2.3.0,<3'
14+ requests = " requests>=2.3.0,<3"
2115
2216if sys .version_info < (2 , 7 , 9 ):
23- requests = ' requests[security]>=2.4.1,<3'
17+ requests = " requests[security]>=2.4.1,<3"
2418
25- install_requires = [
26- 'pycryptodomex==3.4.7' ,
27- requests ,
28- 'six>=1.8.0'
29- ]
19+ install_requires = ["pycryptodomex==3.4.7" , requests , "six>=1.8.0" ]
3020
3121if sys .version_info < (2 , 7 , 0 ):
32- install_requires .append (' pyOpenSSL<18.0.0' )
33- install_requires .append (' pyjwt>=1.3.0,<1.6.0' )
34- install_requires .append (' pycparser<2.19' )
22+ install_requires .append (" pyOpenSSL<18.0.0" )
23+ install_requires .append (" pyjwt>=1.3.0,<1.6.0" )
24+ install_requires .append (" pycparser<2.19" )
3525else :
36- install_requires .append (' pyjwt>=1.3.0,<1.7.0' )
26+ install_requires .append (" pyjwt>=1.3.0,<1.7.0" )
3727
3828
3929class PyTest (TestCommand ):
40-
4130 def finalize_options (self ):
4231 TestCommand .finalize_options (self )
4332 self .test_args = []
@@ -46,43 +35,43 @@ def finalize_options(self):
4635 def run_tests (self ):
4736 # import here, cause outside the eggs aren't loaded
4837 import pytest
49- errno = pytest . main (
50- ' -v --cov=./' )
38+
39+ errno = pytest . main ( " -v --cov=./" )
5140 sys .exit (errno )
5241
5342
5443setup (
55- name = ' stream-python' ,
44+ name = " stream-python" ,
5645 version = __version__ ,
5746 author = __maintainer__ ,
5847 author_email = __email__ ,
59- url = ' http://github.com/GetStream/stream-python' ,
60- description = ' Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks.' ,
48+ url = " http://github.com/GetStream/stream-python" ,
49+ description = " Client for getstream.io. Build scalable newsfeeds & activity streams in a few hours instead of weeks." ,
6150 long_description = long_description ,
62- long_description_content_type = ' text/markdown' ,
51+ long_description_content_type = " text/markdown" ,
6352 license = __license__ ,
6453 packages = find_packages (),
6554 zip_safe = False ,
6655 install_requires = install_requires ,
67- extras_require = {' test' : tests_require },
68- cmdclass = {' test' : PyTest },
56+ extras_require = {" test" : tests_require },
57+ cmdclass = {" test" : PyTest },
6958 tests_require = tests_require ,
7059 include_package_data = True ,
7160 classifiers = [
72- ' Intended Audience :: Developers' ,
73- ' Intended Audience :: System Administrators' ,
74- ' Operating System :: OS Independent' ,
75- ' Topic :: Software Development' ,
76- ' Development Status :: 5 - Production/Stable' ,
77- ' License :: OSI Approved :: BSD License' ,
78- ' Natural Language :: English' ,
79- ' Programming Language :: Python :: 2.6' ,
80- ' Programming Language :: Python :: 2.7' ,
81- ' Programming Language :: Python :: 3' ,
82- ' Programming Language :: Python :: 3.4' ,
83- ' Programming Language :: Python :: 3.5' ,
84- ' Programming Language :: Python :: 3.6' ,
85- ' Programming Language :: Python :: 3.7' ,
86- ' Topic :: Software Development :: Libraries :: Python Modules' ,
61+ " Intended Audience :: Developers" ,
62+ " Intended Audience :: System Administrators" ,
63+ " Operating System :: OS Independent" ,
64+ " Topic :: Software Development" ,
65+ " Development Status :: 5 - Production/Stable" ,
66+ " License :: OSI Approved :: BSD License" ,
67+ " Natural Language :: English" ,
68+ " Programming Language :: Python :: 2.6" ,
69+ " Programming Language :: Python :: 2.7" ,
70+ " Programming Language :: Python :: 3" ,
71+ " Programming Language :: Python :: 3.4" ,
72+ " Programming Language :: Python :: 3.5" ,
73+ " Programming Language :: Python :: 3.6" ,
74+ " Programming Language :: Python :: 3.7" ,
75+ " Topic :: Software Development :: Libraries :: Python Modules" ,
8776 ],
8877)
0 commit comments