-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (73 loc) · 2.59 KB
/
setup.py
File metadata and controls
77 lines (73 loc) · 2.59 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
"""Azure CLI Extension: az prototype — Innovation Factory rapid prototyping."""
from setuptools import find_packages, setup
VERSION = "0.2.1b7"
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
]
DEPENDENCIES = [
"knack>=0.11.0",
"pyyaml>=6.0",
"requests>=2.28.0",
"rich>=13.0.0",
"jinja2>=3.1.0",
"openai>=1.0.0",
"opencensus-ext-azure>=1.1.0",
# prompt_toolkit for multi-line input (Shift+Enter, backslash continuation)
"prompt_toolkit>=3.0.0",
# Textual TUI dashboard for interactive sessions
"textual>=8.0.0",
# Pin psutil — only 7.1.1 ships a pre-built win32 binary wheel.
# Later versions (7.1.2+) require a source build which fails on
# Azure CLI's bundled 32-bit Python (no setuptools).
"psutil>=5.6.3,<=7.1.1",
# Document text + image extraction for binary artifact support
"pypdf>=4.0",
"python-docx>=1.0",
"python-pptx>=1.0",
"openpyxl>=3.1",
]
setup(
name="prototype",
version=VERSION,
description="Azure CLI extension for rapid prototype generation using AI agents and GitHub Copilot",
long_description="Empowers customers to rapidly create Azure prototypes using AI-driven agent teams.",
license="MIT",
author="Joshua Davis",
author_email="joshuadavis@microsoft.com",
url="https://github.com/Azure/az-prototype",
classifiers=CLASSIFIERS,
packages=[
p for p in find_packages(exclude=["tests", "tests.*", "*.__pycache__", "*.__pycache__.*"])
if "__pycache__" not in p
],
install_requires=DEPENDENCIES,
include_package_data=True,
package_data={
"azext_prototype": [
"azext_metadata.json",
"agents/builtin/definitions/*.yaml",
"governance/policies/**/*.yaml",
"governance/*.vectors.json",
"governance/schemas/*.json",
"governance/anti_patterns/*.yaml",
"governance/standards/**/*.yaml",
"templates/**/*",
"knowledge/**/*.md",
"knowledge/**/*.yaml",
]
},
exclude_package_data={"": ["__pycache__", "*.pyc"]},
entry_points={
"azure.cli.extensions": [
"prototype=azext_prototype",
]
},
)