forked from tianocore/edk2-pytool-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (96 loc) · 3.02 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
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "edk2-pytool-extensions"
maintainers = [{name = "EDK2 Pytool Maintainers", email = "[email protected]"}]
dynamic = ["version"]
description = "Python tools supporting UEFI EDK2 firmware development"
readme = {file = "readme.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
dependencies = [
"edk2-pytool-library>=0.14.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'",
]
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
[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.0.270",
"pytest == 7.3.1",
"coverage == 7.2.7",
"robotframework == 6.0.2",
"regex == 2023.6.3",
"pre-commit == 3.3.2",
]
publish = [
"setuptools == 67.8.0",
"build == 0.10.0",
"twine == 4.0.2",
]
docs = [
"black==23.3.0",
"mkdocs==1.4.3",
"mkdocs-material==9.1.15",
"mkdocstrings[python]==0.22.0",
"mkdocstrings-python==1.1.2",
"markdown-include==0.8.1",
"mkdocs-gen-files==0.5.0",
"mkdocs-exclude==1.0.2",
"mkdocs-awesome-pages-plugin==2.9.1",
]
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"
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 = "dek2toolext.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
"F", # PyFlakes
"D", # pydocstyle
]
line-length = 120
[tool.ruff.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
testpaths = [
"tests.unit"
]