-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (40 loc) · 1.19 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import setuptools
import pathlib
import sys
topdir = pathlib.Path(__file__).parent
def readfile(f):
return (topdir / f).read_text("utf-8").strip()
extra_options = {}
if sys.version_info.major == 3 and sys.version_info.minor >= 7:
extra_options["long_description_content_type"] = "text/markdown"
setuptools.setup(
name="websocket-rooms",
version="0.1.0",
description="Python library for simple websocket managment",
long_description=readfile("README.md"),
url="https://github.com/yoelbassin/Websocket-Rooms",
author="Yoel Bassin",
author_email="bassin.yoel@gmail.com",
license="MIT",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
packages=["websocket_rooms"],
install_requires=["starlette"],
extras_require={
"test": [
"fastapi",
"pytest",
"pytest-asyncio",
"async-asgi-testclient",
"flake8",
"isort",
"black",
],
"example": ["fastapi", "uvicorn", "websockets"],
},
**extra_options
)