-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (57 loc) · 2.05 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (57 loc) · 2.05 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
from setuptools import setup, find_packages
def get_version():
"""Read version from version.py file"""
version_file = "agentx/version.py"
with open(version_file, "r", encoding="utf-8") as f:
for line in f:
if line.startswith("VERSION"):
return line.split("=")[1].strip().strip('"').strip("'")
raise RuntimeError("Unable to find version string.")
def get_long_description():
"""Read README.md file"""
with open("README.md", "r", encoding="utf-8") as f:
return f.read()
setup(
name="agentx-python",
version=get_version(),
packages=find_packages(),
# PEP 561: ships type hints for consumers' type checkers (mypy/pyright). Without this marker,
# every symbol imported from `agentx` is treated as untyped `Any`, silently disabling type
# checking for anything that touches the SDK.
package_data={"agentx": ["py.typed"]},
zip_safe=False,
install_requires=[
"urllib3>=1.26.11",
"certifi",
"requests",
"pydantic>=2.0.0",
],
extras_require={
"langchain": ["langchain-core>=0.1.0"],
"crewai": ["crewai>=0.80.0"],
"openai-agents": ["openai-agents>=0.0.3"],
"anthropic": ["anthropic>=0.25.0"],
"google-adk": ["google-adk>=1.0.0"],
"google-genai": ["google-genai>=1.0.0"],
"all": [
"langchain-core>=0.1.0",
"crewai>=0.80.0",
"openai-agents>=0.0.3",
"anthropic>=0.25.0",
"google-adk>=1.0.0",
"google-genai>=1.0.0",
],
},
author="Robin Wang and AgentX Team",
author_email="contact@agentx.so",
description="Official Python SDK for AgentX (https://www.agentx.so/)",
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/AgentX-ai/AgentX-python",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)