-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
127 lines (118 loc) · 4.43 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
# Photini - a simple photo metadata editor.
# http://github.com/jim-easterbrook/Photini
# Copyright (C) 2023-24 Jim Easterbrook [email protected]
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
# <http://www.gnu.org/licenses/>.
[build-system]
requires = ["setuptools >= 59.6", "setuptools_scm[toml]>=6.2", "toml"]
build-backend = "setuptools.build_meta"
[project]
name = "Photini"
description = "Simple photo metadata editor"
readme = "README.rst"
license = {text = "GPLv3+"}
authors = [{name = "Jim Easterbrook", email = "[email protected]"}]
keywords = ["Exif", "IPTC", "XMP"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"cachetools >= 3.0",
"chardet >= 3.0",
"exiv2 >= 0.16",
"filetype >= 1.0",
"Pillow >= 5.3",
"platformdirs >= 2.4",
"requests >= 2.4",
"pywin32 >= 302; platform_system == 'Windows'",
]
dynamic = ["version"]
requires-python = ">= 3.6"
[project.optional-dependencies]
flickr = ["photini[keyring,requests-oauthlib,requests-toolbelt]"]
google = ["photini[keyring,requests-oauthlib]"]
importer = ["gphoto2 >= 2.4; platform_system != 'Windows'"]
ipernity = ["photini[keyring,requests-toolbelt]"]
pixelfed = ["photini[keyring,requests-oauthlib,requests-toolbelt]"]
spelling = ["pyenchant >= 2.0"]
# install everything except the Qt package
all = ["""photini[keyring,requests-oauthlib,requests-toolbelt,\
importer,spelling,gpxpy]"""]
# set versions of common packages
keyring = ["keyring >= 7.0"]
requests-oauthlib = ["requests-oauthlib >= 1.0"]
requests-toolbelt = ["requests-toolbelt >= 0.9"]
# the following are intended for use by the photini-configure script
PyQt5 = ["PyQt5 >= 5.9", "PyQtWebEngine >= 5.12"]
PyQt6 = [
"photini[PyQt6-linux]; platform_system == 'Linux'",
"photini[PyQt6-windows]; platform_system == 'Windows'",
"photini[PyQt6-darwin]; platform_system == 'Darwin'",
]
PyQt6-linux = [
"PyQt6 >= 6.2; python_version != '3.6.*'",
"PyQt6-WebEngine >= 6.2; python_version != '3.6.*'",
"PyQt6 >= 6.2, < 6.3; python_version == '3.6.*'",
"PyQt6-Qt6 < 6.3; python_version == '3.6.*'",
"PyQt6-WebEngine >= 6.2, < 6.3; python_version == '3.6.*'",
"PyQt6-WebEngine-Qt6 < 6.3; python_version == '3.6.*'",
]
PyQt6-windows = [
"PyQt6 >= 6.2; platform_release not in '7'",
"PyQt6-WebEngine >= 6.2; platform_release not in '7'",
]
PyQt6-darwin = [
"PyQt6-Qt6 >= 6.2, != 6.6.1",
"PyQt6-WebEngine-Qt6 >= 6.2, != 6.6.1",
]
PySide2 = [
"PySide2 >= 5.11.1; python_version < '3.8'",
"PySide2 >= 5.14; python_version >= '3.8'",
]
PySide6 = [
"photini[PySide6-linux]; platform_system == 'Linux'",
"photini[PySide6-windows]; platform_system == 'Windows'",
"photini[PySide6-darwin]; platform_system == 'Darwin'",
]
PySide6-linux = ["PySide6 >= 6.2"]
PySide6-windows = ["PySide6 >= 6.2; platform_release not in '7'"]
PySide6-darwin = ["PySide6 >= 6.2, != 6.6.1"]
gpxpy = ["gpxpy >= 1.3.5, != 1.6.0"]
Pillow = []
[project.urls]
Homepage = "https://github.com/jim-easterbrook/Photini"
Documentation = "https://photini.readthedocs.io/"
Repository = "https://github.com/jim-easterbrook/Photini"
Changelog = "https://github.com/jim-easterbrook/Photini/blob/main/CHANGELOG.txt"
[project.scripts]
photini-configure = "photini.scripts:configure"
photini-post-install = "photini.scripts:post_install"
[project.gui-scripts]
photini = "photini.editor:main"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["doc*", "lang*"]
[tool.setuptools_scm]
write_to = "src/photini/_version.py"
version_scheme = "post-release"