-
-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (140 loc) · 3.63 KB
/
pyproject.toml
File metadata and controls
146 lines (140 loc) · 3.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
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
# For pip, install like this:
# pip install . --group opencv-normal --group qt6-normal --group mpv-normal --group other-normal
# For uv, just do, as normal:
# uv sync
[project]
name = "hydrus"
version = "v669"
description = "A personal booru-style media tagger"
readme = "README.md"
requires-python = ">=3.10,<3.15"
dependencies = [
"beautifulsoup4>=4.0.0",
"cbor2>=5.6.5",
"chardet>=3.0.4,<6", # requests 2.32.5 unhappy with 6.0.0, and pyinstaller too perhaps
"cryptography>=44.0.0",
"dateparser==1.2.1",
"html5lib>=1.0.1",
"lxml>=4.5.0",
"lz4>=3.0.0",
"olefile>=0.47",
"pillow>=10.0.1",
"pillow-heif>=0.12.0",
"pillow-jxl-plugin>=1.3.0",
"psutil>=5.0.0",
"pympler>=1.1",
"pyopenssl>=19.1.0",
"pysocks>=1.7.0",
"python-dateutil>=2.9.0.post0",
"pyyaml>=5.0.0",
"send2trash>=1.5.0",
"service-identity>=18.1.0",
"show-in-file-manager>=1.1.5",
"twisted[http2,tls]>=20.3.0",
"requests==2.32.5",
"pyobjc-core>=10.1 ; sys_platform == 'darwin'",
"pyobjc-framework-cocoa>=10.1 ; sys_platform == 'darwin'",
"pyobjc-framework-quartz>=10.1 ; sys_platform == 'darwin'",
"pywin32 ; sys_platform == 'win32'",
]
# This pyproject.toml will become simpler on v673!
# all these groups but the 'dev' group will be deleted, and the 'dependencies' list above will be populated with the 'normal' stuff
# all 'old' and 'test' support is being offloaded to the setup_venv.py script
# if you use non-normal test groups here, migrate to the setup_venv.py or otherwise before v673!
[tool.uv]
default-groups = [ "mpv-normal", "opencv-normal", "other-normal", "qt6-normal" ]
conflicts = [
[
{ group = "mpv-new" },
{ group = "mpv-normal" },
{ group = "mpv-test" },
],
[
{ group = "opencv-new" },
{ group = "opencv-normal" },
{ group = "opencv-test" },
{ group = "opencv-old" },
],
[
{ group = "other-future" },
{ group = "other-normal" },
],
[
{ group = "qt6-new" },
{ group = "qt6-normal" },
{ group = "qt6-new-pyqt6" },
{ group = "qt6-older" },
{ group = "qt6-test" },
]
]
[dependency-groups]
mpv-new = [
"mpv==1.0.8",
]
mpv-normal = [
"mpv==1.0.8",
]
mpv-test = [
"mpv==1.0.8",
]
opencv-new = [
"opencv-python-headless==4.11.0.86",
"numpy<=2.3.1",
]
opencv-normal = [
"opencv-python-headless==4.11.0.86",
"numpy<=2.3.1",
]
opencv-old = [
"opencv-python-headless==4.8.1.78",
"numpy<=2.3.1",
]
opencv-test = [
"opencv-python-headless==4.13.0.90",
"numpy==2.4.1 ; python_version >= '3.11'",
]
other-future = [
"tldextract==5.3.1",
]
other-normal = [
]
qt6-new = [
"pyside6==6.9.3",
"qtpy==2.4.3",
]
qt6-normal = [
"pyside6==6.9.3",
"qtpy==2.4.3",
]
qt6-new-pyqt6 = [
"pyqt6",
"pyqt6-charts",
"qtpy",
]
qt6-older = [
"pyside6==6.3.1",
"qtpy==2.3.1",
]
qt6-test = [
"pyside6==6.10.1",
"qtpy==2.4.3",
]
dev = [
# Common dev tools
"httmock>=1.4.0",
"mkdocs-material==9.7.1",
#"setuptools==78.1.1",
#"PyInstaller==6.14.1", # py 3.14 issue here, so when you bring this back, test it
# Windows-specific build tools
#"pefile ; sys_platform == 'win32'",
# macOS-specific build tools
#"pyoxidizer==0.24.0 ; sys_platform == 'darwin'",
#"pyobjc-core>=10.1 ; sys_platform == 'darwin'",
#"pyobjc-framework-Cocoa>=10.1 ; sys_platform == 'darwin'",
#"pyobjc-framework-Quartz>=10.1 ; sys_platform == 'darwin'",
]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["hydrus*"]