west/pyproject.toml

63 lines
1.3 KiB
TOML
Raw Permalink Normal View History

[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "west"
version = "1.3.99"
authors = [{name = "Zephyr Project", email = "devel@lists.zephyrproject.org"}]
description = "Zephyr RTOS Project meta-tool"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
requires-python = ">=3.9"
dependencies = [
"colorama",
"PyYAML>=5.1",
"pykwalify",
"setuptools",
"packaging",
]
[project.license]
file = "LICENSE"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://github.com/zephyrproject-rtos/west"
[project.scripts]
west = "west.app.main:main"
[tool.setuptools]
package-dir = {"" = "src"}
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = [
"I", # isort
"B", # flake8-bugbear
"E", # pycodestyle errors
"F", # Pyflakes
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = [
"UP027", # deprecated pyupgrade rule
]