aboutsummaryrefslogtreecommitdiff
blob: 6cb369471442a85e1636eb4c67f3623b437b9591 (plain)
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
[build-system]
requires = [
	"flit_core >=3.8,<4",
	"snakeoil ~=0.10.5",
]
build-backend = "py_build"
backend-path = ["."]

[project]
name = "pkgdev"
description = "collection of tools for Gentoo development"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = "~=3.10"
authors = [
	{name = "Tim Harder", email = "radhermit@gmail.com"},
	{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
]
maintainers = [
	{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
]
classifiers = [
	"License :: OSI Approved :: BSD License",
	"Programming Language :: Python :: 3.10",
	"Programming Language :: Python :: 3.11",
]
dynamic = ["version"]

dependencies = [
	"snakeoil~=0.10.5",
	"pkgcore~=0.12.23",
	"pkgcheck~=0.10.25",
]

[project.optional-dependencies]
test = [
	"pytest>=6.0",
	"pytest-cov",
]
doc = [
	"sphinx",
	"tomli; python_version < '3.11'"
]
tatt = [
	"nattka",
	"Jinja2",
]

[project.urls]
Homepage = "https://github.com/pkgcore/pkgdev"
Documentation = "https://pkgcore.github.io/pkgdev/"
Source = "https://github.com/pkgcore/pkgdev"

[project.scripts]
pkgdev = "pkgdev.scripts.__init__:main"

[tool.flit.external-data]
directory = "data"

[tool.flit.sdist]
include = [
	"Makefile", "py_build.py",
	"NEWS.rst", "doc", "tests",
	"build/sphinx/man/*.1",
]
exclude = [
	".github/", ".gitignore",
	"doc/api/", "doc/generated/", "doc/_build/",
]

[tool.black]
line-length = 100

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv -ra -l"
testpaths = ["tests"]