forked from AI4Finance-Foundation/FinRL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (51 loc) · 1.93 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
from __future__ import annotations
from setuptools import find_packages
from setuptools import setup
# Read requirements.txt, ignore comments
try:
REQUIRES = list()
f = open("requirements.txt", "rb")
for line in f.read().decode("utf-8").split("\n"):
line = line.strip()
if "#" in line:
line = line[: line.find("#")].strip()
if line:
REQUIRES.append(line)
except FileNotFoundError:
print("'requirements.txt' not found!")
REQUIRES = list()
setup(
name="finrl",
version="0.3.5",
include_package_data=True,
author="Hongyang Yang, Xiaoyang Liu",
author_email="hy2500@columbia.edu",
url="https://github.com/finrl/finrl-library",
license="MIT",
packages=find_packages(),
# install_requires=REQUIRES
# + ["pyfolio @ git+https://github.com/quantopian/pyfolio.git#egg=pyfolio-0.9.2"]
# + [
# "elegantrl @ git+https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl"
# ],
# install_requires=REQUIRES,
description="FinRL: Financial Reinforcement Learning Framework.",
long_description="Version 0.3.5 notes: stable version, code refactoring, more tutorials, clear documentation",
# It is developed by `AI4Finance`_. \
# _AI4Finance: https://github.com/AI4Finance-Foundation",
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="Reinforcement Learning, Finance",
platform=["any"],
python_requires=">=3.7",
)