-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
116 lines (109 loc) · 3.52 KB
/
setup.py
File metadata and controls
116 lines (109 loc) · 3.52 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
110
111
112
113
114
115
116
#!/usr/bin/env python3
"""
Setup configuration for the 3D Agent Framework
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read README for long description
readme_path = Path(__file__).parent / "README.md"
if readme_path.exists():
with open(readme_path, "r", encoding="utf-8") as f:
long_description = f.read()
else:
long_description = "A comprehensive framework for building intelligent 3D agents"
# Read requirements
def read_requirements(filename):
"""Read requirements from file"""
req_path = Path(__file__).parent / filename
if req_path.exists():
with open(req_path, "r", encoding="utf-8") as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
return []
# Core requirements
install_requires = [
"numpy>=1.20.0",
"dataclasses;python_version<'3.7'",
"typing_extensions>=3.7.4",
]
# Optional dependencies
extras_require = {
"ai": [
"openai>=1.0.0",
"langchain>=0.1.0",
"anthropic>=0.20.0",
],
"voice": [
"SpeechRecognition>=3.10.0",
"pyttsx3>=2.90",
"pyaudio>=0.2.11",
],
"physics": [
"PyPhysX>=0.2.0",
],
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=22.0.0",
"flake8>=5.0.0",
"mypy>=1.0.0",
],
"docs": [
"sphinx>=5.0.0",
"sphinx-rtd-theme>=1.0.0",
"myst-parser>=0.18.0",
]
}
# Add 'all' extra that includes everything
extras_require["all"] = list(set(
dep for deps in extras_require.values() for dep in deps
))
setup(
name="eliza-3d-agent-framework",
version="0.1.0",
author="3D Agent Framework Team",
author_email="team@3dagents.dev",
description="A comprehensive framework for building intelligent 3D agents",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/3d-agents/eliza-3d-agent-framework",
project_urls={
"Bug Reports": "https://github.com/3d-agents/eliza-3d-agent-framework/issues",
"Source": "https://github.com/3d-agents/eliza-3d-agent-framework",
"Documentation": "https://eliza-3d-agent-framework.readthedocs.io",
},
packages=find_packages(where="src"),
package_dir={"": "src"},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Games/Entertainment",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True,
package_data={
"": ["*.md", "*.txt", "*.yaml", "*.yml", "*.json"],
},
entry_points={
"console_scripts": [
"3d-agent=core.cli:main",
],
},
keywords=[
"3d", "agents", "ai", "artificial intelligence", "virtual worlds",
"games", "simulation", "robotics", "embodied ai", "multimodal",
"voice", "vision", "animation", "physics", "hyperfy", "metaverse"
],
zip_safe=False,
)