forked from robertmartin8/PyPortfolioOpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·47 lines (44 loc) · 1.73 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
from setuptools import setup
import re
with open("README.md", "r") as f:
desc = f.read()
desc = desc.split("<!-- content -->")[-1]
desc = re.sub("<[^<]+?>", "", desc) # Remove html
setup(
name="PyPortfolioOpt",
version="1.2.6",
description="Financial portfolio optimisation in python",
long_description=desc,
long_description_content_type="text/markdown",
url="https://github.com/robertmartin8/PyPortfolioOpt",
author="Robert Andrew Martin",
author_email="[email protected]",
license="MIT",
packages=["pypfopt"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Mathematics",
],
keywords="portfolio finance optimization quant trading investing",
install_requires=["numpy", "pandas", "scipy", "cvxpy"],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
python_requires=">=3.5",
project_urls={
"Documentation": "https://pyportfolioopt.readthedocs.io/en/latest/",
"Issues": "https://github.com/robertmartin8/PyPortfolioOpt/issues",
"Personal website": "https://reasonabledeviations.com",
},
)