forked from breadum/kiwoom
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
76 lines (67 loc) · 1.92 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
from setuptools import setup, find_packages
# Project Information
VERSION = "1.3.1"
DISTNAME = "kiwoom"
DESCRIPTION = "Simple Python Wrapper for Kiwoom Open API+"
LONG_DESCRIPTION = open("README.md", encoding="utf-8").read()
LONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'
URL = "https://github.com/breadum/kiwoom"
DOWNLOAD_URL = "https://pypi.org/project/kiwoom"
PROJECT_URLS = {
"Git": "https://github.com/breadum/kiwoom",
"Tutorials": "https://github.com/breadum/kiwoom/tree/main/tutorials"
}
# Author Information
AUTHOR = "Breadum"
EMAIL = "breadum.kr@gmail.com"
# Miscellaneous
LICENSE = "MIT License"
CLASSIFIERS = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Office/Business :: Financial :: Investment"
]
KEYWORDS =[
"Kiwoom",
"Heroes",
"Open API+",
"키움",
"영웅문",
"System Trading",
"Algorithmic Trading"
]
def setup_package():
kwargs = {
"install_requires": [
'PyQt5 >= 5.12'
],
"setup_requires": [],
'zip_safe': False
}
setup(
name=DISTNAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
url=URL,
download_url=DOWNLOAD_URL,
project_urls=PROJECT_URLS,
packages=find_packages(),
python_requires=">=3.6",
license=LICENSE,
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
**kwargs
)
if __name__ == '__main__':
setup_package()