autogen/setup.py

66 lines
1.6 KiB
Python
Raw Normal View History

2020-12-05 01:40:27 +08:00
import setuptools
import os
here = os.path.abspath(os.path.dirname(__file__))
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",
]
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*"]),
package_data={
2023-09-16 18:57:57 +08:00
"autogen.default": ["*/*.json"],
},
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",
"pre-commit",
"datasets",
"nbconvert",
"nbformat",
"ipykernel",
"packaging",
"pydantic==1.10.9",
"sympy",
"wolframalpha",
],
2023-09-16 18:57:57 +08:00
"mathchat": ["sympy", "pydantic==1.10.9", "wolframalpha"],
"retrievechat": [
"chromadb",
"tiktoken",
"sentence_transformers",
],
2020-12-05 01:40:27 +08:00
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"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
)