-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
129 lines (120 loc) · 3.39 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
123
124
125
126
127
128
129
[build-system]
requires = [
"setuptools==75.1.0",
"setuptools_scm==8.1.0",
"setuptools_dynamic_dependencies @ git+https://github.com/beeware/setuptools_dynamic_dependencies",
]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "toga-core"
description = "A Python native, OS native GUI toolkit."
readme = "README.rst"
requires-python = ">= 3.9"
license.text = "New BSD"
authors = [
{name="Russell Keith-Magee", email="[email protected]"},
]
maintainers = [
{name="BeeWare Team", email="[email protected]"},
]
keywords = [
"gui",
"widget",
"cross-platform",
"toga",
"desktop",
"mobile",
"web",
"macOS",
"cocoa",
"iOS",
"android",
"windows",
"winforms",
"linux",
"freeBSD",
"gtk",
"console",
"web",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD 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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Software Development :: User Interfaces",
"Topic :: Software Development :: Widget Sets",
]
dependencies = [
"travertino >= 0.3.0",
# limited to <=3.9 for the `group` argument for `entry_points()`
"importlib_metadata >= 4.4.0; python_version <= '3.9'",
]
[project.optional-dependencies]
# Extras used by developers *of* Toga are pinned to specific versions to
# ensure environment consistency.
dev = [
"coverage[toml] == 7.6.2",
"coverage-conditional-plugin == 0.9.0",
"Pillow == 10.4.0",
"pre-commit == 4.0.1",
"pytest == 8.3.3",
"pytest-asyncio == 0.24.0",
"pytest-freezer == 0.4.8",
"setuptools-scm == 8.1.0",
"tox == 4.21.2",
# typing-extensions needed for TypeAlias added in Py 3.10
"typing-extensions == 4.12.2 ; python_version < '3.10'",
]
# Docs are always built on a specific Python version; see RTD and tox config files,
# and the docs contribution guide.
docs = [
"furo == 2024.8.6",
"Pillow == 10.4.0",
"pyenchant == 3.2.2",
"sphinx == 8.1.3",
"sphinx_tabs == 3.4.5",
"sphinx-autobuild == 2024.10.3",
"sphinx-csv-filter == 0.4.2",
"sphinx-copybutton == 0.5.2",
"sphinx-toolbox == 3.8.1",
"sphinxcontrib-spelling == 8.0.0",
]
[project.urls]
Homepage = "https://beeware.org/project/projects/libraries/toga/"
Funding = "https://beeware.org/contributing/membership/"
Documentation = "https://toga.readthedocs.io/"
Tracker = "https://github.com/beeware/toga/issues"
Source = "https://github.com/beeware/toga"
Changelog = "https://toga.readthedocs.io/en/stable/background/project/releases.html"
[project.entry-points."toga.image_formats"]
pil = "toga.plugins.image_formats.PILConverter"
[tool.setuptools_scm]
root = ".."
[tool.coverage.run]
parallel = true
branch = true
relative_files = true
# See notes in the root pyproject.toml file.
source = ["src"]
source_pkgs = ["toga"]
[tool.coverage.paths]
source = [
"src/toga",
"**/toga",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
filterwarnings = [
"error",
]