-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (51 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
61 lines (51 loc) · 1.75 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
#
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
version = "0.1"
name = "metaviewer"
description = "Metadata Viewer"
authors = [{ name = "darkshapes", email = "91800957+exdysa@users.noreply.github.com" }]
requires-python = ">= 3.10"
license = { file = "LICENSE" }
readme = "README.md"
urls = { source = "https://github.com/darkshapes/metaviewer" }
# dynamic = ["version"]
keywords = ["training", "text", "images", "AI", "editing", "metadata", "generative", "art"]
classifiers = [
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Viewers",
"Topic :: Text Processing :: General",
"Topic :: Artistic Software",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Other Audience",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Environment :: X11 Applications :: Qt",
]
dependencies = ["rich", "pydantic", "pydantic-core", "pillow", "PyQt6", "toml", "typing-extensions", "gguf", "llama_cpp_python"]
[project.optional-dependencies]
dev = ["pytest"]
kn = ["ruff", "pylint"]
[project.scripts]
metaviewer = "metaviewer.main:main"
# [tool.setuptools_scm]
# write_to = "_version.py"
[tool.uv]
dev-dependencies = ["pytest"]
[tool.ruff]
line-length = 120
include = ["*.py"]
extend-exclude = ["^tests/.*$", "test.*$"]
[tool.pylint]
ignore-paths = ["^tests/.*$", "test_.*$"]
[tool.ruff.format]
[tool.ruff.lint.pycodestyle]
max-line-length = 120
ignore-overlong-task-comments = true
[tool.typos]
files.extend-exclude = ["^tests/.*$", "test.*$"]