-
Notifications
You must be signed in to change notification settings - Fork 58
/
pyproject.toml
57 lines (51 loc) · 1.74 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
[tool.poetry]
name = "rclip"
version = "1.11.0"
description = "AI-Powered Command-Line Photo Search Tool"
authors = ["Yurij Mikhalevich <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/yurijmikhalevich/rclip"
keywords = ["image search", "computer vision", "photography"]
classifiers = [
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = ">=3.9 <3.13"
numpy = "^1.26.4"
open_clip_torch = "^2.24.0"
pillow = "^10.3.0"
requests = "~=2.32"
torch = [
{ version = "==2.4.1", source = "pypi", markers = "sys_platform != 'linux' or platform_machine == 'aarch64'" },
{ version = "==2.4.1+cpu", source = "pytorch-cpu", markers = "sys_platform == 'linux' and platform_machine != 'aarch64'" }
]
torchvision = [
{ version = "==0.19.1", source = "pypi", markers = "sys_platform != 'linux' or platform_machine == 'aarch64'" },
{ version = "==0.19.1+cpu", source = "pytorch-cpu", markers = "sys_platform == 'linux' and platform_machine != 'aarch64'" }
]
tqdm = "^4.65.0"
rawpy = "^0.23.2"
[tool.poetry.group.dev.dependencies]
pycodestyle = ">=2.7,<3.0"
pytest = ">=7.2.1,<8.0"
homebrew-pypi-poet = "^0.10.0"
jinja2 = "^3.1.2"
[tool.poetry.scripts]
rclip = "rclip.main:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pypi"
priority = "primary"
[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"