-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
122 lines (111 loc) · 3.02 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
# See:
# - https://setuptools.pypa.io/en/latest/history.html#v66-1-0
# - https://github.com/pypa/setuptools/issues/3779
requires = ["setuptools >= 66.1"]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "term-image"
description = "Display images in the terminal"
requires-python = ">=3.8"
dependencies = [
"pillow>=9.1,<11",
"requests>=2.23,<3",
"typing_extensions>=4.8,<5",
]
authors = [
{name = "Toluwaleke Ogundipe", email = "anonymoux47@gmail.com"},
]
license = {text = "MIT License"}
readme = "README.md"
keywords = [
"image",
"terminal",
"viewer",
"PIL",
"Pillow",
"console",
"xterm",
"library",
"cli",
"tui",
"ANSI",
"ASCII-Art",
"kitty",
"iterm2",
"sixel",
"graphics",
]
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Android",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries",
"Topic :: Terminals :: Terminal Emulators/X Terminals",
"Topic :: Multimedia :: Graphics :: Viewers",
]
[project.optional-dependencies]
urwid = ["urwid>=2.1,<3.0"]
[project.urls]
Homepage = "https://github.com/AnonymouX47/term-image"
Documentation = "https://term-image.readthedocs.io/"
Source = "https://github.com/AnonymouX47/term-image"
Repository = "https://github.com/AnonymouX47/term-image.git"
Issues = "https://github.com/AnonymouX47/term-image/issues"
Changelog = "https://github.com/AnonymouX47/term-image/blob/main/CHANGELOG.md"
Funding = "https://github.com/AnonymouX47/term-image#sponsor-this-project"
[tool.coverage.run]
branch = true
source = ["src"]
# For https://github.com/py-cov-action/python-coverage-comment-action
relative_files = true
[tool.coverage.report]
exclude_also = [
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"@overload",
]
skip_covered = true
sort = "-cover"
[tool.isort]
py_version = "auto"
profile = "black"
combine_as_imports = true
[tool.mypy]
strict = true
show_column_numbers = true
implicit_reexport = false
[[tool.mypy.overrides]]
module = [
'term_image.renderable.*',
'term_image.render.*',
'term_image.image.*',
]
disable_error_code = ["type-abstract"]
# These modules will go through massive changes real soon
[[tool.mypy.overrides]]
module = [
'term_image.image.*',
'term_image.widget.*',
]
ignore_errors = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:.+in a terminal:UserWarning:term_image.utils",
]
[tool.setuptools.dynamic]
version = {attr = "term_image.version_info"}