forked from dcajasn/Riskfolio-Lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (69 loc) · 2.46 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
# Copyright (C) 2020-2021 Dany Cajas
DESCRIPTION = "Portfolio Optimization and Quantitative Strategic Asset Allocation in Python"
with open("README.md", encoding='UTF-8') as fh:
LONG_DESCRIPTION = fh.read()
DISTNAME = 'Riskfolio-Lib'
MAINTAINER = 'Dany Cajas'
MAINTAINER_EMAIL = '[email protected]'
URL = 'https://github.com/dcajasn/Riskfolio-Lib'
LICENSE = 'BSD (3-clause)'
KEYWORDS = 'finance, portfolio, optimization, quant, asset, allocation, investing'
DOWNLOAD_URL = 'https://github.com/dcajasn/Riskfolio-Lib.git'
VERSION = '0.1.2'
PYTHON_REQUIRES = ">=3.7"
INSTALL_REQUIRES = [
'numpy>=1.17.0',
'scipy>=1.0.1',
'pandas>=1.0.0',
'matplotlib>=3.3.0',
'cvxpy>=1.0.25',
'scikit-learn>=0.22.0',
'statsmodels>=0.10.1',
'arch>=4.15',
'xlsxwriter>=1.3.7',
]
PACKAGES = [
'riskfolio',
]
CLASSIFIERS = [
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: BSD License',
'Topic :: Office/Business :: Financial :: Investment',
'Topic :: Office/Business :: Financial',
'Topic :: Scientific/Engineering :: Mathematics',
'Operating System :: Microsoft',
'Operating System :: Unix',
'Operating System :: MacOS'
]
if __name__ == "__main__":
from setuptools import setup
import sys
if sys.version_info[:2] < (3, int(PYTHON_REQUIRES[-1])):
raise RuntimeError("Riskfolio-Lib requires python " + PYTHON_REQUIRES)
setup(
name=DISTNAME,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown; charset=UTF-8; variant=GFM',
license=LICENSE,
keywords=KEYWORDS,
url=URL,
version=VERSION,
download_url=DOWNLOAD_URL,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
packages=PACKAGES,
classifiers=CLASSIFIERS,
project_urls={"Documentation": "https://riskfolio-lib.readthedocs.io/en/latest/",
"Issues": "https://github.com/dcajasn/Riskfolio-Lib/issues",
"Personal website": "http://financioneroncios.wordpress.com",
},
)