55
66requests = "requests>=2.22.0,<3"
77
8- install_requires = [
9- "pycryptodomex>=3.8.1,<4" ,
10- requests ,
11- "pyjwt==1.7.1" ,
12- "six>=1.12.0" ,
13- ]
8+ install_requires = ["pycryptodomex>=3.8.1,<4" , requests , "pyjwt==1.7.1" ]
149long_description = open ("README.md" , "r" ).read ()
1510tests_require = ["pytest" ]
1611
1712about = {}
1813with open ("stream_chat/__pkg__.py" ) as fp :
1914 exec (fp .read (), about )
2015
16+
2117class PyTest (TestCommand ):
2218 def finalize_options (self ):
2319 TestCommand .finalize_options (self )
@@ -27,14 +23,20 @@ def finalize_options(self):
2723 def run_tests (self ):
2824 # import here, cause outside the eggs aren't loaded
2925 import pytest
26+
3027 pytest_cmd = ["stream_chat/" , "-v" ]
3128
3229 try :
3330 import pytest_cov
34- pytest_cmd += ["--cov=stream_chat/" , "--cov-report=html" , "--cov-report=annotate" ]
31+
32+ pytest_cmd += [
33+ "--cov=stream_chat/" ,
34+ "--cov-report=html" ,
35+ "--cov-report=annotate" ,
36+ ]
3537 except ImportError :
3638 pass
37-
39+
3840 errno = pytest .main (pytest_cmd )
3941 sys .exit (errno )
4042
@@ -55,7 +57,7 @@ def run_tests(self):
5557 extras_require = {"test" : tests_require },
5658 tests_require = tests_require ,
5759 include_package_data = True ,
58- python_requires = ' >=3.5' ,
60+ python_requires = " >=3.5" ,
5961 classifiers = [
6062 "Intended Audience :: Developers" ,
6163 "Intended Audience :: System Administrators" ,
0 commit comments