Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (46 loc) · 1.9 KB
/
Copy pathsetup.py
File metadata and controls
49 lines (46 loc) · 1.9 KB
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
from setuptools import setup, find_packages
# V0 (AutoGen) 的包本体已移入 finrobot_autogen/,但对外 import 名仍是 `finrobot`
_V0_PKG_DIR = "finrobot_autogen/finrobot"
# Read requirements.txt, ignore comments
try:
with open("finrobot_autogen/requirements.txt", "r") as f:
REQUIRES = [line.split("#", 1)[0].strip() for line in f if line.strip()]
except:
print("'finrobot_autogen/requirements.txt' not found!")
REQUIRES = list()
setup(
name="FinRobot",
version="0.1.5",
include_package_data=True,
author="AI4Finance Foundation",
author_email="contact@ai4finance.org",
url="https://github.com/AI4Finance-Foundation/FinRobot",
license="Apache-2.0",
packages=(
["finrobot"]
+ [f"finrobot.{_p}" for _p in find_packages(where=_V0_PKG_DIR)]
+ find_packages(include=["finrobot_equity", "finrobot_equity.*"])
),
package_dir={"finrobot": _V0_PKG_DIR},
install_requires=REQUIRES,
description="FinRobot: An Open-Source AI Agent Platform for Financial Applications using LLMs",
long_description="""FinRobot""",
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
keywords="Financial Large Language Models, AI Agents",
platforms=["any"],
python_requires=">=3.10, <3.12",
)