-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (78 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (78 loc) · 2.02 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
86
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[project]
name = "udiskie"
description = "Removable disk automounter based on udisks"
dynamic = ["version", "readme"]
requires-python = ">=3.5"
license = "MIT"
license-files = ["COPYING"]
authors = [
{name = "Byron Clark", email = "byron@theclarkfamily.name"},
{name = "Thomas Gläßle", email = "t_glaessle@gmx.de"},
]
maintainers = [
{name = "Thomas Gläßle", email = "t_glaessle@gmx.de"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: X11 Applications :: GTK",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Desktop Environment",
"Topic :: System :: Filesystems",
"Topic :: System :: Hardware",
"Topic :: Utilities",
]
dependencies = [
"PyYAML",
"docopt",
"importlib_resources; python_version < '3.7'",
"PyGObject",
]
[project.urls]
"Source Code" = "https://github.com/coldfix/udiskie"
"Issue Tracker" = "https://github.com/coldfix/udiskie/issues"
"Changelog" = "https://github.com/coldfix/udiskie/blob/master/CHANGES.rst"
[project.scripts]
udiskie = "udiskie.cli:Daemon.main"
udiskie-mount = "udiskie.cli:Mount.main"
udiskie-umount = "udiskie.cli:Umount.main"
udiskie-info = "udiskie.cli:Info.main"
[tool.setuptools]
packages = [
"udiskie",
"udiskie.icons",
]
[tool.setuptools.package-data]
"udiskie" = ["*.ui"]
"udiskie.icons" = ["*.svg"]
[tool.setuptools.dynamic]
version = {attr = "udiskie.__version__"}
readme = {file = ["README.rst", "CHANGES.rst"], content-type = "text/x-rst"}
[tool.ruff]
line-length = 84
indent-width = 4
exclude = [
".git",
"__pycache__",
"build",
"dist",
"docs",
# used locally:
"devel",
"issues",
]
[tool.ruff.lint]
select = [
"E",
"F",
"C901", # McCabe complexity
]
ignore = [
"E731", # Do not assign a `lambda` expression, use a `def`
]
mccabe = {"max-complexity" = 13}