-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (54 loc) · 1.9 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
# -*- coding: utf-8 -*-
"""
Financial portfolio optimization with amplpy
--------------------------------------------
This package replicates some financial portfolio optimization models
from `pypfopt <https://github.com/robertmartin8/PyPortfolioOpt>`_
using `amplpy <https://github.com/ampl/amplpy>`_.
Links
`````
* GitHub Repository: https://github.com/ampl/amplpyfinance
* PyPI Repository: https://pypi.python.org/pypi/amplpyfinance
"""
from setuptools import setup
import os
def ls_dir(base_dir):
"""List files recursively."""
return [
os.path.join(dirpath.replace(base_dir, "", 1), f)
for (dirpath, dirnames, files) in os.walk(base_dir)
for f in files
]
setup(
name="amplpyfinance",
version="0.0.0a2",
description="Financial portfolio optimization with amplpy",
long_description=__doc__,
license="MIT",
platforms="any",
author="Filipe Brandão",
author_email="fdabrandao@gmail.com",
maintainer="Filipe Brandão",
maintainer_email="fdabrandao@ampl.com",
url="http://ampl.com/",
download_url="https://github.com/ampl/amplpy/tree/master/amplpyfinance",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
],
install_requires=open("requirements.txt").read().split("\n"),
packages=["amplpyfinance"],
package_data={"": ls_dir("amplpyfinance/")},
)