-
-
Notifications
You must be signed in to change notification settings - Fork 320
/
pyproject.toml
118 lines (104 loc) · 3.15 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]
build-backend = "setuptools.build_meta"
requires = ["setuptools"]
[project]
name = "SCons"
description = "Open Source next-generation build tool."
requires-python = ">=3.7"
license = { text = "MIT" }
readme = { file = "README-package.rst", content-type = "text/x-rst" }
authors = [{ name = "William Deegan", email = "[email protected]" }]
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
]
[project.urls]
Homepage = "https://www.scons.org/"
Documentation = "https://scons.org/documentation.html"
Twitter = "https://twitter.com/SConsProject"
GitHub = "https://github.com/SCons/scons"
Bug-Tracker = "https://github.com/SCons/scons/issues"
Discord = "https://discord.gg/pejaFYrD9n"
"Mailing lists" = "https://scons.org/lists.html"
[project.scripts]
scons = "SCons.Script.Main:main"
sconsign = "SCons.Utilities.sconsign:main"
scons-configure-cache = "SCons.Utilities.ConfigureCache:main"
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.dynamic]
version = {attr = "SCons.__version__"}
[tool.setuptools.packages.find]
exclude = ["template"]
namespaces = false
[tool.setuptools.package-data]
"*" = ["*.txt", "*.rst", "*.1"]
"scons.tool.docbook" = ["*.*"]
[tool.distutils.sdist]
dist-dir = "build/dist"
[tool.distutils.bdist_wheel]
dist-dir = "build/dist"
[tool.ruff]
target-version = "py37" # Lowest python version supported
extend-include = ["SConstruct", "SConscript"]
extend-exclude = [
"bench/",
"bin/",
"doc/",
"src/",
"template/",
"test/",
"testing/",
"timings/",
"SCons/Tool/docbook/docbook-xsl-1.76.1/",
]
[tool.ruff.lint]
extend-select = [
"FA", # Future annotations
"UP006", # Use {to} instead of {from} for type annotation
"UP007", # Use `X | Y` for type annotations
"UP037", # Remove quotes from type annotation
]
extend-safe-fixes = ["FA", "UP006", "UP007"]
[tool.ruff.format]
quote-style = "preserve" # Equivalent to black's "skip-string-normalization"
[tool.ruff.lint.per-file-ignores]
"SCons/Util/__init__.py" = [
"F401", # Module imported but unused
]
"SCons/Variables/__init__.py" = [
"F401", # Symbol imported but unused
]
[tool.mypy]
python_version = "3.8"
exclude = [
"^bench/",
"^bin/",
"^doc/",
"^src/",
"^template/",
"^test/",
"^testing/",
"^timings/",
"^SCons/Tool/docbook/docbook-xsl-1.76.1/",
]