-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpyproject.toml
80 lines (74 loc) · 2.01 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
[project]
name = "PyGObject"
description = "Python bindings for GObject Introspection"
readme = 'README.rst'
license = "LGPL-2.1-or-later"
license-files = ["COPYING"]
authors = [
{ name="James Henstridge", email="[email protected]" }
]
maintainers = [
{ name="Christoph Reiter", email="[email protected]" },
{ name="Arjan Molenaar", email="[email protected]" },
{ name="Dan Yeaw", email="[email protected]" },
{ name="Ignacio Casal Quinteiro", email="[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.9, <4.0"
dependencies = [
"pycairo>=1.16"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://pygobject.gnome.org"
Repository = "https://gitlab.gnome.org/GNOME/pygobject.git"
Changelog = "https://gitlab.gnome.org/GNOME/pygobject/-/blob/main/NEWS"
[tool.pdm.dev-dependencies]
build = [
# Setuptools 74 removed msvccompiler, required by g-ir-scanner (<1.82.0)
# See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/515
"setuptools<74",
"meson-python",
"ninja",
"pycairo",
]
test = [
"pytest",
"pytest-cov",
"flake8",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-copybutton>=0.5.2",
"furo",
]
[tool.pdm.options]
install = [
"--no-isolation",
"--config-setting=setup-args=-Dtests=true",
"--config-setting=setup-args=-Dbuildtype=debug",
"--config-setting=editable-verbose=true",
]
build = ["--no-wheel"]
[tool.meson-python.args]
setup = ["-Dtests=false", "-Dwheel=true", "--wrap-mode=nofallback"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
python_files = "test_*.py"
addopts = [
"--import-mode=importlib",
]
[build-system]
build-backend = "mesonpy"
requires = ["meson-python>=0.12.1", "pycairo>=1.16"]