-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (71 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
85 lines (71 loc) · 1.63 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kvm-serial"
version = "1.5.4"
authors = [{ name="Samantha Finnigan", email="1038320+sjmf@users.noreply.github.com" }]
description = "Python package for interfacing with CH9329 KVM devices"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-watch",
"pytest-timeout",
"black==26.1.0",
"pre-commit",
"pyinstaller>=6.0",
"mkdocs-material"
]
[project.scripts]
kvm-gui = "kvm_serial.kvm:main"
kvm-control = "kvm_serial.control:main"
[project.urls]
Homepage = "https://github.com/sjmf/kvm-serial"
Issues = "https://github.com/sjmf/kvm-serial/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["kvm_serial*"]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
exclude = '''/(
\._| # hidden files and directories
build/
dist/
\.eggs/
\.git/
\.hg/
\.mypy_cache/
\.tox/
\.venv/
_build/
buck-out/
__pycache__/
*.egg-info/
)/'''
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = [
"-v",
"--tb=short",
"--cov=kvm_serial",
"--cov-report=term-missing",
"--cov-report=lcov:lcov.info"
]
timeout = 5
[tool.coverage.run]
source = ["kvm_serial"]