-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
86 lines (81 loc) · 4.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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# File: setup.py
#
# Part of ‘UNICORN Binance WebSocket API’
# Project website: https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api
# Documentation: https://oliver-zehentleitner.github.io/unicorn-binance-websocket-api
# PyPI: https://pypi.org/project/unicorn-binance-websocket-api/
#
# Author: Oliver Zehentleitner
# https://about.me/oliver-zehentleitner
#
# Copyright (c) 2019-2021, Oliver Zehentleitner
# All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish, dis-
# tribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the fol-
# lowing conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
import setuptools
from unicorn_binance_websocket_api.unicorn_binance_websocket_api_manager import BinanceWebSocketApiManager
ubwa = BinanceWebSocketApiManager()
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='unicorn-binance-websocket-api',
version=str(ubwa.get_version()),
author="Oliver Zehentleitner",
url="https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api",
description="An unofficial Python API to use the Binance Websocket API`s (com+testnet, com-margin+testnet, "
"com-isolated_margin+testnet, com-futures+testnet, jersey, us, jex, dex/chain+testnet) in a easy, fast"
", flexible, robust and fully-featured way.",
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT License',
install_requires=['colorama', 'pathlib', 'requests', 'websocket-client', 'websockets==8.1', 'flask_restful',
'cheroot', 'flask', 'ujson', 'psutil', 'unicorn-fy'],
keywords='binance, asyncio, async, asynchronous, concurrent, websocket-api, webstream-api, '
'binance-websocket, binance-webstream, webstream, websocket, api, binance-jersey, binance-dex, '
'binance-futures, binance-margin',
project_urls={
'Howto': 'https://www.technopathy.club/2019/11/02/howto-unicorn-binance-websocket-api/',
'Documentation': 'https://oliver-zehentleitner.github.io/unicorn-binance-websocket-api/',
'Wiki': 'https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/wiki',
'Author': 'https://about.me/oliver-zehentleitner/',
},
python_requires='>=3.6.1',
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
'Intended Audience :: Developers',
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Office/Business :: Financial :: Investment",
'Topic :: Software Development :: Libraries :: Python Modules',
"Framework :: AsyncIO",
],
)
ubwa.stop_manager_with_all_streams()