-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
109 lines (105 loc) · 2.69 KB
/
Copy pathsetup.py
File metadata and controls
109 lines (105 loc) · 2.69 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Copyright(C) 2024-2025 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
from setuptools import setup
import re
with open("src/gaia/version.py", encoding="utf-8") as fp:
version_content = fp.read()
version_match = re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', version_content)
if not version_match:
raise ValueError("Unable to find version string in version.py")
gaia_version = version_match.group(1)
tkml_version = "5.0.4"
setup(
name="gaia",
version=gaia_version,
description="GAIA is a lightweight agent framework designed for the edge and AI PCs.",
author="AMD",
package_dir={"": "src"},
packages=[
"gaia",
"gaia.llm",
"gaia.audio",
"gaia.chat",
"gaia.talk",
"gaia.apps",
"gaia.apps.llm",
"gaia.apps.summarize",
"gaia.eval",
"gaia.mcp",
"gaia.agents",
"gaia.agents.base",
"gaia.agents.Blender",
"gaia.agents.Blender.core",
],
package_data={
"gaia.eval": [
"webapp/*.json",
"webapp/*.js",
"webapp/*.md",
"webapp/public/*.html",
"webapp/public/*.css",
"webapp/public/*.js",
],
},
install_requires=[
"openai",
"pydantic>=2.9.2",
"transformers",
"accelerate",
"python-dotenv",
"aiohttp",
"rich",
],
extras_require={
"audio": [
"torch>=2.0.0,<2.4",
"torchvision<0.19.0",
"torchaudio",
],
"blender": [
"bpy",
],
"dev": [
"pytest",
"pytest-benchmark",
"pytest-mock",
"pytest-asyncio",
"memory_profiler",
"matplotlib",
"adjustText",
"plotly",
"black",
"responses",
"requests",
],
"eval" : [
"anthropic",
"bs4",
"scikit-learn",
"numpy",
"pypdf",
],
"talk":[
"pyaudio",
"openai-whisper",
"numpy==1.26.4",
"kokoro>=0.3.1",
"soundfile",
"sounddevice",
],
"youtube": [
"llama-index-readers-youtube-transcript",
]
},
classifiers=[],
entry_points={
"console_scripts": [
"gaia = gaia.cli:main",
"gaia-cli = gaia.cli:main",
]
},
python_requires=">=3.8, <3.13",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
include_package_data=True,
)