This repository was archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
51 lines (45 loc) · 1.42 KB
/
setup.py
File metadata and controls
51 lines (45 loc) · 1.42 KB
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
"""**Bachata** is a chat server toolkit on top of `asyncio`_ and `Tornado`_.
.. _Tornado: http://www.tornadoweb.org/en/stable/
.. _asyncio: https://docs.python.org/3.4/library/asyncio.html
Overview
--------
- Requires Python 3.3+
- Requires Tornado running on asyncio event loop
- Implements simple messages queue on Redis LPUSH / BRPOP
- Implements reliable messages delivery on Redis BRPOPLPUSH pattern
- JSON messages format
- Custom messages routing
"""
from setuptools import setup
with open('bachata/__init__.py') as file:
for line in file:
if line.startswith('__version__'):
__version__ = line.split('=')[1].strip().strip("'").strip('"')
break
setup(
name="bachata",
version=__version__,
author="Alexey Kinev",
author_email='rudy@05bit.com',
url='https://github.com/05bit/bachata',
description="Bachata is a chat server toolkit on top of asyncio and Tornado.",
long_description=__doc__,
license='Apache',
zip_safe=False,
install_requires=[
'tornado>=4.2.1',
'aioredis>=0.2.3',
'websockets>=2.6',
],
packages=[
'bachata',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
],
test_suite='bachata.tests',
)