1
1
from setuptools import setup , find_packages
2
2
3
+
3
4
def get_requirements (env = "" ):
4
5
if env :
5
6
env = "-{}" .format (env )
6
7
with open ("requirements{}.txt" .format (env )) as fp :
7
8
return [x .strip () for x in fp .read ().split ("\n " ) if not x .startswith ("#" )]
8
9
10
+
9
11
with open ("README.md" , "r" , encoding = "utf-8" ) as fh :
10
12
long_description = fh .read ()
11
13
12
14
setup (
13
- name = ' fastapi_websocket_pubsub' ,
14
- version = ' 0.3.3' ,
15
- author = ' Or Weis' ,
15
+ name = " fastapi_websocket_pubsub" ,
16
+ version = " 0.3.4" ,
17
+ author = " Or Weis" ,
16
18
author_email = "or@permit.io" ,
17
19
description = "A fast and durable PubSub channel over Websockets (using fastapi-websockets-rpc)." ,
18
20
long_description_content_type = "text/markdown" ,
@@ -24,8 +26,8 @@ def get_requirements(env=""):
24
26
"License :: OSI Approved :: MIT License" ,
25
27
"Operating System :: OS Independent" ,
26
28
"Topic :: Internet :: WWW/HTTP :: HTTP Servers" ,
27
- "Topic :: Internet :: WWW/HTTP :: WSGI"
29
+ "Topic :: Internet :: WWW/HTTP :: WSGI" ,
28
30
],
29
- python_requires = ' >=3.7' ,
31
+ python_requires = " >=3.8" ,
30
32
install_requires = get_requirements (),
31
33
)
0 commit comments