-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
57 lines (51 loc) · 1.77 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
# -*- coding: utf-8 -*-
"""
Created on Mon Nov 12 00:23:29 2018
@author: khanhphamdinh
"""
from setuptools import setup, find_packages
try:
from pypandoc import convert_file
read_md = lambda f: convert_file(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
DISTNAME = 'vnquant'
INSTALL_REQUIRES = (
['pandas>=0.19.2', 'numpy>=1.20.2', 'requests>=2.3.0', 'wrapt>=1.10.0', 'lxml>=4.3.0', 'pypandoc>=1.4', 'plotly>=4.2.1', 'bs4>=0.0.1']
)
VERSION = '0.1.1'
LICENSE = 'MIT'
DESCRIPTION = 'Viet Nam stock market'
AUTHOR = "KhanhPhamDinh"
EMAIL = "[email protected]"
URL = "https://github.com/phamdinhkhanh/vnquant"
DOWNLOAD_URL = 'https://github.com/phamdinhkhanh/vnquant'
setup(name=DISTNAME,
version=VERSION,
description=DESCRIPTION,
long_description=read_md('README.md'),
author=AUTHOR,
author_email=EMAIL,
url=URL,
license = LICENSE,
#package name are looked in python path
packages=find_packages(exclude = ['contrib', 'docs', 'tests*']),
classifiers=[
'Development Status :: 0 - Alpha',
'Environment :: Console',
'Intended Audience :: Trader/Investor/Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Cython',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Financial/Stock Market',
],
keywords = 'data',
install_requires=INSTALL_REQUIRES,
zip_safe=False,
)