2020-12-04 09:40:27 -08:00
|
|
|
import setuptools
|
|
|
|
import os
|
|
|
|
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
2022-01-02 20:12:34 -05:00
|
|
|
with open("README.md", "r", encoding="UTF-8") as fh:
|
2020-12-04 09:40:27 -08:00
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
|
|
|
|
# Get the code version
|
|
|
|
version = {}
|
2023-09-16 10:57:57 +00:00
|
|
|
with open(os.path.join(here, "autogen/version.py")) as fp:
|
2020-12-04 09:40:27 -08:00
|
|
|
exec(fp.read(), version)
|
|
|
|
__version__ = version["__version__"]
|
|
|
|
|
|
|
|
install_requires = [
|
2023-09-16 10:57:57 +00:00
|
|
|
"openai",
|
|
|
|
"diskcache",
|
|
|
|
"termcolor",
|
2023-09-16 15:30:28 +00:00
|
|
|
"flaml",
|
2021-09-10 16:39:16 -07:00
|
|
|
]
|
2020-12-04 09:40:27 -08:00
|
|
|
|
|
|
|
|
|
|
|
setuptools.setup(
|
2023-09-19 17:50:43 +00:00
|
|
|
name="pyautogen",
|
2020-12-04 09:40:27 -08:00
|
|
|
version=__version__,
|
2023-09-16 10:57:57 +00:00
|
|
|
author="AutoGen",
|
2023-09-16 16:41:15 +00:00
|
|
|
author_email="auto-gen@outlook.com",
|
2023-09-16 10:57:57 +00:00
|
|
|
description="Enabling Next-Gen LLM Applications via Multi-Agent Conversation Framework",
|
2020-12-04 09:40:27 -08:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2023-09-16 10:57:57 +00:00
|
|
|
url="https://github.com/microsoft/autogen",
|
2023-09-19 18:26:50 +00:00
|
|
|
packages=setuptools.find_packages(include=["autogen*"], exclude=["test"]),
|
|
|
|
# package_data={
|
|
|
|
# "autogen.default": ["*/*.json"],
|
|
|
|
# },
|
|
|
|
# include_package_data=True,
|
2020-12-04 09:40:27 -08:00
|
|
|
install_requires=install_requires,
|
|
|
|
extras_require={
|
|
|
|
"test": [
|
2023-10-03 19:52:50 +02:00
|
|
|
"chromadb",
|
2020-12-04 09:40:27 -08:00
|
|
|
"coverage>=5.3",
|
2021-12-20 17:19:32 -05:00
|
|
|
"datasets",
|
2023-10-03 19:52:50 +02:00
|
|
|
"ipykernel",
|
2022-12-24 00:18:49 +08:00
|
|
|
"nbconvert",
|
|
|
|
"nbformat",
|
2023-10-03 19:52:50 +02:00
|
|
|
"pre-commit",
|
2023-07-01 11:01:14 +08:00
|
|
|
"pydantic==1.10.9",
|
2023-10-03 19:52:50 +02:00
|
|
|
"pytest-asyncio",
|
|
|
|
"pytest>=6.1.1",
|
2023-06-25 21:49:34 +08:00
|
|
|
"sympy",
|
2023-10-03 19:52:50 +02:00
|
|
|
"tiktoken",
|
2023-06-25 21:49:34 +08:00
|
|
|
"wolframalpha",
|
2021-04-06 11:37:52 -07:00
|
|
|
],
|
2023-09-16 15:30:28 +00:00
|
|
|
"blendsearch": ["flaml[blendsearch]"],
|
2023-09-16 10:57:57 +00:00
|
|
|
"mathchat": ["sympy", "pydantic==1.10.9", "wolframalpha"],
|
2023-10-01 11:22:58 +01:00
|
|
|
"retrievechat": ["chromadb", "tiktoken", "sentence_transformers", "pypdf"],
|
2020-12-04 09:40:27 -08:00
|
|
|
},
|
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
2021-04-08 09:29:55 -07:00
|
|
|
"Operating System :: OS Independent",
|
2020-12-04 09:40:27 -08:00
|
|
|
],
|
2023-09-16 10:57:57 +00:00
|
|
|
python_requires=">=3.8",
|
2020-12-04 09:40:27 -08:00
|
|
|
)
|