forked from elbakramer/koapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
114 lines (104 loc) · 3.1 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#!/usr/bin/env python
"""The setup script."""
from __future__ import annotations
from setuptools import find_packages, setup
with open("README.rst", encoding="utf-8") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst", encoding="utf-8") as history_file:
history = history_file.read()
requirements = [
"click>=8.0.3",
"discord.py>=1.7.3",
"exchange-calendars>=3.5",
"grpcio>=1.43.0",
"grpcio-tools>=1.43.0",
"lxml>=4.7.1",
"numpy>=1.22.1",
"openpyxl>=3.0.9",
"pandas>=1.3.5",
"protobuf>=3.19.3",
"pygtrie>=2.4.2",
"pyhocon>=0.3.59",
"PySide2>=5.15.2",
"pytz>=2021.3",
"QtPy>=2.0.0",
"requests>=2.27.1",
"Rx>=3.2.0",
"schedule>=1.1.0",
"Send2Trash>=1.8.0",
"SQLAlchemy>=1.4.29",
"tabulate>=0.8.9",
"tqdm>=4.62.3",
"tzlocal>=4.1",
"wrapt>=1.13.3",
"pywin32>=303;sys_platform=='win32'",
"pywinauto>=0.6.8;sys_platform=='win32'",
"windows-curses>=2.3.0;sys_platform=='win32'",
]
requirements_dev = [
"actions-toolkit>=0.1.12",
"black>=21.12b0",
"bump2version>=1.0.1",
"codecov>=2.1.12",
"coverage>=6.2",
"dunamai>=1.7.0",
"flake8>=4.0.1",
"isort>=5.10.1",
"mypy>=0.931",
"pip-tools>=6.4.0",
"pre-commit>=2.16.0",
"pylint>=2.12.2",
"pytest>=6.2.5",
"pytest-cov>=3.0.0",
"pytest-xdist>=2.5.0",
"pyupgrade>=2.31.0",
]
requirements_docs = [
"Sphinx>=4.3.2",
"sphinx-autoapi>=1.8.4",
"nbconvert>=6.4.0",
"nbsphinx>=0.8.8",
"ipython>=7.31.0",
]
requirements_dev += requirements_docs
setup(
author="Yunseong Hwang",
author_email="[email protected]",
python_requires=">=3.8",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Natural Language :: Korean",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Environment :: Console",
"Environment :: X11 Applications :: Qt",
"Topic :: Office/Business :: Financial",
],
description="Kiwoom Open Api Plus Python",
entry_points={"console_scripts": ["koapy=koapy.cli:main"]},
setup_requires=["setuptools-git"],
install_requires=requirements,
extras_require={
"dev": requirements_dev,
"docs": requirements_docs,
"backtarder": ["backtrader>=1.9.76.123"],
"pyqt5": ["PyQt5>=5.15.6"],
},
license="MIT OR Apache-2.0 OR GPL-3.0-or-later",
long_description=readme + "\n\n" + history,
name="koapy",
packages=find_packages(include=["koapy", "koapy.*"]),
include_package_data=True,
test_suite="tests",
url="https://github.com/elbakramer/koapy",
version="0.6.2",
zip_safe=False,
)