-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (47 loc) · 1.77 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
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="drl",
version="0.0.4",
include_package_data=True,
author="Renold Christian",
author_email="[email protected]",
url="https://github.com/severus-sn4pe/drl-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="Deep Reinforcement Learning based on FinRL",
# long_description="A deep reinforcement Learning implementation based on FinRL",
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",
)