-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
80 lines (67 loc) · 2.37 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
# This file is part of the
# Garpar Project (https://github.com/quatrope/garpar).
# Copyright (c) 2021, 2022, Nadia Luczywo, Juan Cabral and QuatroPe
# License: MIT
# Full Text: https://github.com/quatrope/garpar/blob/master/LICENSE
# =============================================================================
# IMPORTS
# =============================================================================
import os
from setuptools import find_packages, setup
# =============================================================================
# CONSTANTS
# =============================================================================
REQUIREMENTS = [
"numpy",
"pandas",
"scipy",
"seaborn",
"matplotlib",
"h5py",
"joblib",
"PyPortfolioOpt",
"scikit-criteria",
"attrs",
]
with open("README.md", "r") as fp:
LONG_DESCRIPTION = fp.read()
GARPAR_INIT_PATH = os.path.join("garpar", "__init__.py")
with open(GARPAR_INIT_PATH, "r") as f:
for line in f:
if line.startswith("__version__"):
VERSION = line.split("=", 1)[-1].replace('"', "").strip()
break
# =============================================================================
# SETUP
# =============================================================================
setup(
name="garpar",
version=VERSION,
description="Market generation and portfolio analysis",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Nadia Luczywo, Juan B Cabral & Trinchi Chalela",
author_email="[email protected]",
url="https://github.com/quatrope/garpar",
license="The MIT License",
install_requires=REQUIREMENTS,
keywords=[
"market simulation",
"informational efficiency",
"portfolio optimization",
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
],
packages=find_packages(".", include=["garpar*"]),
include_package_data=True,
)