-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
104 lines (95 loc) · 3.57 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
# Photini - a simple photo metadata editor.
# http://github.com/jim-easterbrook/Photini
# Copyright (C) 2023-24 Jim Easterbrook jim@jim-easterbrook.me.uk
#
# 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"
build-backend = "backend"
backend-path = ["custom_build"]
[project]
name = "Photini"
description = "Simple photo metadata editor"
readme = "README.rst"
license = {text = "GPLv3+"}
authors = [{name = "Jim Easterbrook", email = "jim@jim-easterbrook.me.uk"}]
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 = [
"appdirs >= 1.3",
"cachetools >= 3.0",
"chardet >= 3.0",
"exiv2 >= 0.16",
"filetype >= 1.0",
"Pillow >= 2.0",
"requests >= 2.4",
]
dynamic = ["version"]
[project.optional-dependencies]
flickr = ["photini[keyring,requests-oauthlib,requests-toolbelt]"]
google = ["photini[keyring,requests-oauthlib]"]
importer = ["gphoto2 >= 1.8; 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 = ["PyQt6 >= 6.2", "PyQt6-WebEngine >= 6.2",
"PyQt6-Qt6 < 6.3; python_version == '3.6.*'",
"PyQt6-WebEngine-Qt6 < 6.3; python_version == '3.6.*'",
"PyQt6-Qt6 != 6.6.1; sys_platform == 'darwin'",
"PyQt6-WebEngine-Qt6 != 6.6.1; sys_platform == 'darwin'"
]
PySide2 = ["PySide2 >= 5.11"]
PySide6 = ["PySide6 >= 6.2",
"PySide6 != 6.6.1; sys_platform == 'darwin'"
]
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"