File: pyproject.toml

package info (click to toggle)
toot 0.51.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,104 kB
  • sloc: python: 9,309; makefile: 41
file content (80 lines) | stat: -rw-r--r-- 1,514 bytes parent folder | download
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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "toot"
authors = [{ name="Ivan Habunek", email="ivan@habunek.com" }]
description = "Mastodon CLI client"
readme = "README.rst"
license = "GPL-3.0-only"
requires-python = ">=3.9"
dynamic = ["version"]

classifiers = [
    "Environment :: Console :: Curses",
    "Environment :: Console",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3",
]

dependencies = [
    "beautifulsoup4>=4.5.0,<5.0",
    "click~=8.1",
    "python-dateutil>=2.8.1,<3.0",
    "requests>=2.13,<3.0",
    "tomlkit>=0.10.0,<1.0",
    "urwid~=3.0",
    "wcwidth>=0.1.7",
]

[project.optional-dependencies]
# Required to display images in the TUI
images = [
    "pillow>=9.5.0",
    "term-image>=0.7.2",
]

[project.urls]
"Homepage" = "https://toot.bezdomni.net"
"Source" = "https://github.com/ihabunek/toot/"

[project.scripts]
toot = "toot.cli:cli"

[tool.setuptools]
packages=[
    "toot",
    "toot.cli",
    "toot.tui",
    "toot.tui.richtext",
    "toot.urwidgets",
    "toot.utils",
]

[tool.setuptools_scm]

[tool.pyright]
pythonVersion = "3.9"

[tool.ruff]
line-length = 100
target-version = "py39"

[dependency-groups]
dev = [
    "build",
    "flake8",
    "mypy",
    "pillow>=9.5.0",
    "pudb>=2025.1",
    "pyright",
    "pytest",
    "pytest-xdist[psutil]",
    "pyyaml",
    "setuptools",
    "twine",
    "types-beautifulsoup4",
    "typing-extensions",
    "vermin",
]