-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
144 lines (136 loc) · 3.16 KB
/
pyproject.toml
File metadata and controls
144 lines (136 loc) · 3.16 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mininterface"
version = "1.2.1"
description = "CLI & dialog toolkit – a minimal interface to Python application (GUI, TUI, CLI + config files, web)"
authors = ["Edvard Rejthar <edvard.rejthar@nic.cz>"]
license = "LGPL-3.0-or-later"
homepage = "https://github.com/CZ-NIC/mininterface"
readme = "README.md"
[tool.poetry.dependencies]
# Minimal requirements (dialogs with partial .form support (m.form(dict) or m.form(dataclass_instance))
python = "^3.10"
simple_term_menu = "*"
annotated-types = "*"
# Basic requirements (CLI and full .form support (m.form(dataclass_class))
tyro = { version = "^0.9.31", optional = true }
pyyaml = { version = "*", optional = true }
humanize = { version = "*", optional = true }
textual = { version = "<2.0.0", optional = true }
tkinter-tooltip = { version = "*", optional = true }
tkinter_form = { version = "0.2.1", optional = true }
tkscrollableframe = { version = "*", optional = true }
# Extras requirements for all other groups
textual-serve = { version = "*", optional = true }
pillow = { version = "*", optional = true }
tkcalendar = { version = "*", optional = true } # GPLv3
textual_imageview = { version = "*", optional = true }
autocombobox = { version = "1.4.2", optional = true } # GPLv3
[tool.poetry.extras]
# Basic requirements
basic = [
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
]
# specific group that scatter among UIs
img = [
# basic
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
# proper
"pillow",
"textual_imageview",
]
# Individual UIs
tui = [
# basic
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
# specific
"textual_imageview",
]
gui = [ # basic
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
# specific
"pillow",
"tkcalendar",
"autocombobox",
]
web = [
# basic
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
# specific
"textual-serve",
]
ui = [
# basic
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
# web, tui, gui
"textual-serve",
"pillow",
"tkcalendar",
"textual_imageview",
"autocombobox",
]
# Group 'all' is reserved for future use.
# Might contain some big dependencies, other interfaces.
# Now is the same as 'ui'.
all = [
"tyro",
"pyyaml",
"humanize",
"textual",
"tkinter-tooltip",
"tkinter_form",
"tkscrollableframe",
"textual-serve",
"pillow",
"tkcalendar",
"textual_imageview",
"autocombobox",
]
[tool.poetry.scripts]
mininterface = "mininterface.__main__:main"
[tool.poetry.group.dev.dependencies]
pytest = "*"
attrs = "*"
pydantic = "*"
pre-commit = "*"
mkdocs-include-markdown-plugin = "*"
[tool.black]
line-length = 119