-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
161 lines (146 loc) · 3.44 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[build-system]
requires = ["hatchling", "hatch-gettext", "hatch-argparse-manpage"]
build-backend = "hatchling.build"
[project]
name = "rapid-photo-downloader"
description = "Downloads, renames and backs up photos and videos from cameras, phones, memory cards and other devices."
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Damon Lynch", email = "[email protected]" },
]
keywords = [
"arw",
"backup",
"camera",
"copy",
"cr2",
"cr3",
"dng",
"download",
"import",
"ingest",
"nef",
"phone",
"photo",
"photographer",
"photography",
"raw",
"rename",
"transfer",
"video",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Video",
]
dependencies = [
"arrow",
"babel",
"colour",
"gphoto2",
"packaging",
"pillow",
"psutil",
"PyGObject",
"pymediainfo",
"PyQt5",
"python-dateutil",
"pyxdg",
"pyzmq",
"show-in-file-manager",
"sortedcontainers",
"tenacity",
"tornado",
]
[project.optional-dependencies]
color_ouput = ["colorlog"]
progress_bar = ["pyprind"]
[project.gui-scripts]
rapid-photo-downloader = "raphodo.rapid:main"
[project.urls]
Issues = "https://bugs.rapidphotodownloader.com"
Homepage = "https://damonlynch.net/rapid"
Source = "https://github.com/damonlynch/rapid-photo-downloader"
[tool.hatch.version]
path = "raphodo/__about__.py"
[tool.hatch.build.targets.wheel]
packages = ["raphodo"]
[tool.hatch.build.targets.sdist]
include = ["raphodo"]
exclude = ["pip-install.py"]
[tool.hatch.build.hooks.argparse-manpage]
include-url = false
manpages = [
"man/rapid-photo-downloader.1:function=get_parser:pyfile=raphodo/argumentsparse.py:prog=rapid-photo-downloader:manual_title=General Commands Manual",
]
[tool.hatch.build.hooks.gettext]
locale-directory = "raphodo/locale"
identify-left-out = true
regenerate-template = true
show-report = false
[tool.hatch.build.hooks.gettext.files]
"share/applications" = ["data/net.damonlynch.rapid_photo_downloader.desktop.in"]
"share/solid/actions" = ["data/kde/net.damonlynch.rapid_photo_downloader.desktop.in"]
"share/metainfo" = ["data/net.damonlynch.rapid_photo_downloader.metainfo.xml.in"]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"po",
"tests",
]
# Same as Black.
line-length = 88
indent-width = 4
# Assume Python 3.10
target-version = "py310"
builtins = ["ic", "_"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-simplify
"SIM",
# isort
"I",
]