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