-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (56 loc) · 2.35 KB
/
setup.py
File metadata and controls
60 lines (56 loc) · 2.35 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
"""setup.py — minimal packaging for `pip install -e .` developer flow.
Most modern Python projects use pyproject.toml only, but a setup.py
shim is still the broadest-compatibility way to expose console scripts
on Windows + macOS + Linux without forcing the user to know which
build backend is in fashion this month. requirements.txt remains the
source of truth for runtime deps; setup.py mirrors the bare minimum.
After `pip install -e .`:
automation-demo # runs demo.py from anywhere
python -c "import ai_automation_framework; ..."
"""
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="ai-automation-framework",
version="0.5.0",
description="Applied automation + AIOps + MLOps tools, built on phantom-mesh runtime",
long_description=long_description,
long_description_content_type="text/markdown",
author="markl-a",
url="https://github.com/markl-a/Automation_with_Agent",
license="MIT",
python_requires=">=3.10,<3.13",
packages=find_packages(exclude=["tests", "tests.*", "examples", "examples.*"]),
include_package_data=True,
install_requires=[
# Heavy deps live in requirements.txt; this list is just what `import
# ai_automation_framework` needs to not crash. Demo.py uses optional
# imports so it works without anthropic/openai installed.
"pydantic>=2.0",
"python-dotenv>=1.0",
"requests>=2.31",
],
extras_require={
"llm": ["openai>=1.50,<2.0", "anthropic>=0.39,<1.0"],
"rag": ["langchain>=0.3,<1.0", "tiktoken>=0.7"],
"dev": ["pytest>=8.0", "pytest-cov", "black", "ruff", "mypy"],
"all": ["openai>=1.50,<2.0", "anthropic>=0.39,<1.0",
"langchain>=0.3,<1.0", "tiktoken>=0.7"],
},
entry_points={
"console_scripts": [
"automation-demo = demo:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)