-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (91 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
101 lines (91 loc) · 2.67 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smugvision"
version = "0.3.0"
description = "AI-powered photo metadata generation for SmugMug using local vision models"
readme = "README.md"
authors = [
{name = "Eric Pullen", email = "eric@example.com"}
]
license = {text = "MIT"}
keywords = [
"smugmug",
"ai",
"vision",
"metadata",
"photos",
"llama",
"face-recognition",
"computer-vision",
"photo-management",
"automation"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Utilities",
]
requires-python = ">=3.9"
dependencies = [
"requests>=2.31.0",
"requests-oauthlib>=1.3.1",
"PyYAML>=6.0",
"Pillow>=10.0.0",
"ollama>=0.1.0",
"face-recognition>=1.3.0",
"pillow-heif>=0.13.0",
"flask>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"flake8>=6.0",
"mypy>=1.0",
]
[project.urls]
Homepage = "https://github.com/yourusername/smugvision"
Documentation = "https://github.com/yourusername/smugvision/blob/main/README.md"
Repository = "https://github.com/yourusername/smugvision"
"Bug Tracker" = "https://github.com/yourusername/smugvision/issues"
Changelog = "https://github.com/yourusername/smugvision/blob/main/CHANGELOG.md"
[project.scripts]
smugvision = "smugvision.__main__:main"
smugvision-config = "smugvision.scripts.setup_config:main"
smugvision-get-tokens = "smugvision.scripts.get_tokens:main"
smugvision-optimize-faces = "smugvision.scripts.optimize_faces:main"
smugvision-web = "smugvision.web.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["smugvision*"]
exclude = ["tests*", "scripts*"]
[tool.setuptools.package-data]
smugvision = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=smugvision --cov-report=term-missing"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false