-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
33 lines (28 loc) · 1.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from setuptools import setup, find_packages
def get_requirements(env=""):
if env:
env = "-{}".format(env)
with open("requirements{}.txt".format(env)) as fp:
return [x.strip() for x in fp.read().split("\n") if not x.startswith("#")]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="fastapi_websocket_pubsub",
version="0.3.9",
author="Or Weis",
author_email="[email protected]",
description="A fast and durable PubSub channel over Websockets (using fastapi-websockets-rpc).",
long_description_content_type="text/markdown",
long_description=long_description,
url="https://github.com/permitio/fastapi_websocket_pubsub",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: WSGI",
],
python_requires=">=3.8",
install_requires=get_requirements(),
)