-
Notifications
You must be signed in to change notification settings - Fork 54
/
setup.py
60 lines (53 loc) · 1.34 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
import codecs
import io
import os
import re
import sys
import webbrowser
import platform
try:
from setuptools import setup
except:
from distutils.core import setup
NAME = "QATRADER"
"""
名字,一般放你包的名字即可
"""
PACKAGES = ["QATRADER"]
"""
包含的包,可以多个,这是一个列表
"""
DESCRIPTION = "QUANTAXIS TRADER"
KEYWORDS = ["quantaxis", "quant", "finance", "Backtest", 'Framework']
AUTHOR_EMAIL = "[email protected]"
AUTHOR = 'yutiansut'
URL = "https://github.com/yutiansut/QATRADER"
LICENSE = "MIT"
setup(
name=NAME,
version='1.5',
description=DESCRIPTION,
long_description='trader',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
install_requires=['pika', 'quantaxis>=1.5.29', 'quantaxis_webserver',
'quantaxis_pubsub', 'quantaxis_otgbroker>=1.9.2', 'qaenv'],
entry_points={
'console_scripts': [
'qatrader=QATRADER.__init__:single_trade',
'qatraderserver=QATRADER.webhandler:webserver'
]
},
keywords=KEYWORDS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license=LICENSE,
packages=PACKAGES,
include_package_data=True,
zip_safe=True
)