-
Notifications
You must be signed in to change notification settings - Fork 222
/
setup.py
71 lines (66 loc) · 2.11 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from setuptools import setup, find_packages
from ws4redis import __version__
try:
from pypandoc import convert
except ImportError:
import io
def convert(filename, fmt):
with io.open(filename, encoding='utf-8') as fd:
return fd.read()
DESCRIPTION = 'Websockets support for Django using Redis as datastore'
CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.5',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 2.0',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
setup(
name='django-websocket-redis',
version=__version__,
author='Jacob Rief',
author_email='[email protected]',
description=DESCRIPTION,
long_description=convert('README.md', 'rst'),
url='https://github.com/jrief/django-websocket-redis',
license='MIT',
keywords=['django', 'websocket', 'redis'],
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
packages=find_packages(exclude=['examples', 'docs']),
include_package_data=True,
install_requires=[
'setuptools',
'redis',
'gevent',
'greenlet',
'six',
],
extras_require={
'uwsgi': ['uWSGI>=1.9.20'],
'wsaccel': ['wsaccel>=0.6.2'],
'django-redis-sessions': ['django-redis-sessions>=0.4.0'],
},
zip_safe=False,
)