-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
47 lines (42 loc) · 1.08 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
[build-system]
requires = ["argparse-manpage[setuptools]"]
build-backend = "setuptools.build_meta"
# requires = ["setuptools>=58.5.0"]
# build-backend = "setuptools.build_meta"
[project]
name = "distgen"
version = "2.0"
dependencies = [
"distro",
"jinja2",
"pyyaml",
"setuptools"
]
requires-python = ">=3.9"
authors = [
{name = "Red Hat Databases team"},
]
maintainers = [
{name = "Ales Nezbeda", email = "anezbeda@redhat.com"}
]
description = "Templating system/generator for distributions"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)"
]
[tool.setuptools.cmdclass]
build_py = "build_manpages.build_py"
install = "build_manpages.install"
build_manpages = "build_manpages.build_manpages"
[project.scripts]
dg = "distgen.__main__:main"
[tool.setuptools.packages.find]
where = ["."]
include = ['distgen*']
[tool.build_manpages]
manpages = [
"man/dg.1:object=parser:pyfile=distgen/cli_parser.py",
]