-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (104 loc) · 3.77 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (104 loc) · 3.77 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# -----------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -----------------------------------------------------------------------------
[build-system]
# setuptools >= 78.1.1 addresses CVE-2025-47273 and provides PEP 639 license
# expression support used below.
requires = ["setuptools>=78.1.1"]
build-backend = "setuptools.build_meta"
[project]
name = "azdev"
description = "Microsoft Azure CLI Developer Tools"
authors = [{ name = "Microsoft Corporation", email = "azpycli@microsoft.com" }]
license = "MIT"
license-files = ["LICENSE"]
keywords = ["azure"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Environment :: Console",
"Natural Language :: English",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
# `version` is the single source of truth in azdev/__init__.py; `readme` is the
# concatenation of README.rst and HISTORY.rst, neither of which PEP 621 can
# express statically.
dynamic = ["version", "readme"]
dependencies = [
"azure-multiapi-storage",
"build",
"docutils",
"flake8",
"gitpython",
"jinja2",
"knack",
"pylint>=4,<5",
"pytest-xdist", # depends on pytest-forked
"pytest-forked",
"pytest>=5.0.0",
"pyyaml",
"requests",
"sphinx==1.6.7",
"tox",
"jsbeautifier~=1.14.7",
"deepdiff~=8.6.1",
"azure-cli-diff-tool~=0.1.1",
"packaging",
"pkginfo",
"tomli; python_version < '3.11'",
"tqdm",
# setuptools >= 78.1.1 to address CVE-2025-47273 (path traversal).
# No upper bound: azdev does not call the `setup.py develop` / `easy_install`
# commands deprecated in setuptools 80. Editable installs go through
# `pip install -e --config-settings editable_mode=compat --no-build-isolation`
# (0.2.12), and the remaining `setup.py` invocations against *target* repos
# (bdist_wheel, egg_info, sdist) are verified against current setuptools.
"setuptools>=78.1.1",
# `azdev extension build` runs `setup.py bdist_wheel` against extension repos that
# have not migrated to pyproject.toml; keep the wheel command available even when
# the target environment's setuptools predates the bundled bdist_wheel (< 70.1).
"wheel",
"microsoft-security-utilities-secret-masker~=1.0.0b4",
]
[project.urls]
Homepage = "https://github.com/Azure/azure-cli-dev-tools"
[project.scripts]
azdev = "azdev.__main__:main"
[tool.setuptools.dynamic]
version = { attr = "azdev.__VERSION__" }
readme = { file = ["README.rst", "HISTORY.rst"], content-type = "text/x-rst" }
[tool.setuptools]
include-package-data = true
packages = [
"azdev",
"azdev.config",
"azdev.operations",
"azdev.mod_templates",
"azdev.operations.help",
"azdev.operations.help.refdoc",
"azdev.operations.linter",
"azdev.operations.linter.rules",
"azdev.operations.linter.pylint_checkers",
"azdev.operations.testtool",
"azdev.operations.extensions",
"azdev.operations.statistics",
"azdev.operations.command_change",
"azdev.operations.breaking_change",
"azdev.operations.cmdcov",
"azdev.utilities",
]
[tool.setuptools.package-data]
"azdev.config" = ["*.*", "cli_pylintrc", "ext_pylintrc"]
"azdev.mod_templates" = ["*.*"]
"azdev.operations.linter.rules" = ["ci_exclusions.yml"]
"azdev.operations.linter" = ["data/*"]
"azdev.operations.cmdcov" = ["*.*"]
"azdev.operations.breaking_change" = ["*.*"]