Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
AI4Finance-Foundation
GitHub Repository: AI4Finance-Foundation/FinRL
Path: blob/master/setup.py
726 views
1
from __future__ import annotations
2
3
from setuptools import find_packages
4
from setuptools import setup
5
6
# Read requirements.txt, ignore comments
7
try:
8
REQUIRES = list()
9
f = open("requirements.txt", "rb")
10
for line in f.read().decode("utf-8").split("\n"):
11
line = line.strip()
12
if "#" in line:
13
line = line[: line.find("#")].strip()
14
if line:
15
REQUIRES.append(line)
16
except FileNotFoundError:
17
print("'requirements.txt' not found!")
18
REQUIRES = list()
19
20
setup(
21
name="FinRL",
22
version="0.3.8",
23
include_package_data=True,
24
author="AI4Finance Foundation",
25
author_email="[email protected]",
26
url="https://github.com/AI4Finance-Foundation/FinRL",
27
license="MIT",
28
packages=find_packages(),
29
description="FinRL: Financial Reinforcement Learning Framework.",
30
long_description="Version 0.3.5 notes: stable version, code refactoring, more tutorials, clear documentation",
31
# It is developed by `AI4Finance`_. \
32
# _AI4Finance: https://ai4finance.org/",
33
classifiers=[
34
# Trove classifiers
35
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
36
"License :: OSI Approved :: MIT License",
37
"Programming Language :: Python",
38
"Programming Language :: Python :: 3",
39
"Programming Language :: Python :: 3.7",
40
"Programming Language :: Python :: 3.8",
41
"Programming Language :: Python :: 3.9",
42
"Programming Language :: Python :: 3.10",
43
"Programming Language :: Python :: 3.11",
44
"Programming Language :: Python :: 3.12",
45
"Programming Language :: Python :: Implementation :: CPython",
46
"Programming Language :: Python :: Implementation :: PyPy",
47
],
48
keywords="Reinforcement Learning, Finance",
49
platform=["any"],
50
python_requires=">=3.7",
51
)
52
53