-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (54 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (54 loc) · 1.55 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
[project]
name = "dcs-linux-installer"
dynamic = ["version"]
description = "Install DCS World Standalone on Linux, and keep it working."
readme = "README.md"
license = "MIT"
authors = [
{ name = "Oliver Weichhold", email = "oliver@weichhold.com" }
]
requires-python = ">=3.11"
dependencies = [
# Lutris keeps its game configuration in YAML, and discovery has to read it.
"pyyaml>=6.0.3",
"rich>=15.0.0",
"typer>=0.27.0",
]
[project.urls]
Homepage = "https://github.com/oliverw/dcs-linux-installer"
Issues = "https://github.com/oliverw/dcs-linux-installer/issues"
[project.scripts]
dcs-linux = "dcs_linux.cli:run"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
# The version is the git tag, so a release can never ship a number that
# disagrees with the tag it was cut from.
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["src/dcs_linux"]
[tool.hatch.build.targets.sdist]
include = ["src", "tests", "scripts", "README.md", "LICENSE"]
[dependency-groups]
dev = [
"mypy>=2.3.0",
"pytest>=9.1.1",
"ruff>=0.16.1",
"types-pyyaml>=6.0.12.20260724",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.11"
mypy_path = "scripts"
strict = true
files = ["src", "tests", "scripts"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# scripts/ holds release tooling, not library code, so it is importable by the
# tests without being part of the shipped package.
pythonpath = ["scripts", "."]