forked from tianocore/edk2-pytool-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (107 loc) · 3.36 KB
/
pyproject.toml
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
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "edk2-pytool-extensions"
maintainers = [{name = "EDK2 Pytool Maintainers", email = "edk2-pytools@microsoft.com"}]
dynamic = ["version"]
description = "Python tools supporting UEFI EDK2 firmware development"
readme = {file = "readme.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=3.10"
dependencies = [
"edk2-pytool-library>=0.20.0",
"pyyaml>=6.0.0",
"pefile>=2023.2.7",
"semantic_version>=2.10.0",
"GitPython>=3.1.30",
"openpyxl>=3.1.2",
"XlsxWriter>=3.0.9",
"pywin32>=305; sys_platform=='win32'",
"setuptools>=68.2.2",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
[project.urls]
homepage = "https://github.com/tianocore/edk2-pytool-extensions"
documentation = "https://www.tianocore.org/edk2-pytool-extensions/"
issues = "https://github.com/tianocore/edk2-pytool-extensions/issues"
[project.optional-dependencies]
dev = [
"edk2-pytool-extensions[openssl]",
"ruff == 0.5.1",
"pytest == 8.2.2",
"coverage == 7.5.4",
"robotframework == 7.0.1",
"regex == 2024.5.15",
"pre-commit == 3.7.1",
]
publish = [
"setuptools == 70.2.0",
"build == 1.2.1",
"twine == 5.1.1",
]
docs = [
"black==24.4.2",
"mkdocs==1.6.0",
"mkdocs-material==9.5.28",
"mkdocstrings[python]==0.25.1",
"mkdocstrings-python==1.10.5",
"markdown-include==0.8.1",
"mkdocs-gen-files==0.5.0",
"mkdocs-exclude==1.0.2",
"mkdocs-awesome-pages-plugin==2.9.2",
]
openssl = [
"pyopenssl",
"cryptography >= 39.0.1",
]
[project.scripts]
stuart_setup = "edk2toolext.invocables.edk2_setup:main"
stuart_update = "edk2toolext.invocables.edk2_update:main"
stuart_build = "edk2toolext.invocables.edk2_platform_build:main"
stuart_ci_setup = "edk2toolext.invocables.edk2_ci_setup:main"
stuart_pr_eval = "edk2toolext.invocables.edk2_pr_eval:main"
stuart_ci_build = "edk2toolext.invocables.edk2_ci_build:main"
stuart_parse = "edk2toolext.invocables.edk2_parse:main"
stuart_report = "edk2toolext.edk2_report:main"
omnicache = "edk2toolext.omnicache:main"
nuget-publish = "edk2toolext.nuget_publishing:go"
sig_db_tool = "edk2toolext.uefi.sig_db_tool:main"
firmware_policy_tool = "edk2toolext.windows.policy.firmware_policy_tool:main"
edk2_capsule_tool = "edk2toolext.capsule.capsule_tool:main"
versioninfo_tool = "edk2toolext.versioninfo.versioninfo_tool:main"
validate_image_tool = "edk2toolext.image_validation:main"
secureboot_audit = "edk2toolext.windows.secureboot.secureboot_audit:main"
[tool.setuptools_scm]
[tool.coverage.run]
include = ["edk2toolext/*"]
[tool.ruff]
src = ["edk2toolext"]
select = [
"E", # Pycodestyle errors
"W", # Pycodestyle warnings
"F", # PyFlakes
"D", # pydocstyle
"I", # isort
"PIE", # flake8 - PIE
"ANN", # function annotations
]
line-length = 120
ignore = ["ANN101"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.flake8-annotations]
allow-star-arg-any = true
[tool.pytest.ini_options]
testpaths = [
"tests.unit"
]