[Add] added install_requires

This commit is contained in:
nanoric 2019-03-29 04:49:47 -04:00
parent f1b92086b1
commit 98e0c46627

View File

@ -18,10 +18,10 @@ other financial markets.
import ast
import platform
import re
import sys
from setuptools import Extension, find_packages, setup
with open("vnpy/__init__.py", "rb") as f:
version_line = re.search(
r"__version__\s+=\s+(.*)", f.read().decode("utf-8")
@ -98,6 +98,24 @@ else:
pkgs = find_packages()
install_requires = [
"PyQt5<5.12",
"qdarkstyle",
"requests",
"websocket-client",
"peewee",
"numpy",
"pandas",
"matplotlib",
"seaborn",
"futu-api",
"tigeropen",
"ta-lib",
"ibapi"
]
if sys.version_info.minor < 7:
install_requires.append("dataclasses")
setup(
name="vnpy",
version=version,
@ -117,6 +135,7 @@ setup(
"*.so",
"*.pyd"
]},
install_requires=install_requires,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Operating System :: Microsoft :: Windows :: Windows 7",