forked from django/channels_redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (35 loc) · 1.03 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
from os.path import dirname, join
from setuptools import find_packages, setup
from channels_redis import __version__
# We use the README as the long_description
readme = open(join(dirname(__file__), "README.rst")).read()
crypto_requires = ["cryptography>=1.3.0"]
test_requires = crypto_requires + [
"pytest>=3.0",
"pytest-asyncio~=0.8",
"async_generator~=1.8",
"async-timeout~=2.0",
]
setup(
name="channels_redis_persist",
version=__version__,
url="http://github.com/genialis/channels_redis_persist/",
author="Genialis, Inc.",
author_email="[email protected]",
description="Redis-backed ASGI channel layer implementation",
long_description=readme,
license="BSD",
zip_safe=False,
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=[
"aioredis~=1.0",
"msgpack~=0.5.0",
"asgiref~=2.1",
"channels~=2.0",
],
extras_require={
"cryptography": crypto_requires,
"tests": test_requires,
},
)