generated from ansible-community/project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
101 lines (82 loc) · 3.15 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
[build-system]
requires = [
# Essentials:
"setuptools >= 64",
# Plugins:
"setuptools-scm >= 8",
]
build-backend = "setuptools.build_meta" # must be set always
[project]
name = "awx_plugins.interfaces"
# version = # should remain unset when `setuptools-scm` is handling it
description = "Common interfaces for implementing plugins to AWX."
dependencies = [ # runtime deps # https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-optional-dependencies
# GUIDANCE: only add things that this project imports directly
# GUIDANCE: only set lower version bounds
# "pluggy", # TODO: start using https://pluggy.rtfd.io
]
classifiers = [ # Allowlist: https://pypi.org/classifiers/
"Development Status :: 1 - Planning",
"Environment :: Web Environment",
"Framework :: Ansible",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
# It's usually a good idea to list runtimes present in CI:
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Systems Administration",
"Typing :: Typed",
]
dynamic = [
"version", # let `setuptools-scm` populate this
]
keywords = [
"Ansible",
"AWX",
]
requires-python = ">= 3.11" # must be set from the very first release
[[project.authors]]
name = "Ansible maintainers and contributors"
# Example entry point declarations:
# * https://github.com/ansible/awx-plugins/blob/e22c150/pyproject.toml#L76-L99
#
# NOTE: awx calls
# `importlib.metadata.entry_points(group='awx_plugins.credentials')`
# NOTE: through `awx_plugins.interfaces` to discover and later enable any
# NOTE: plugins present in the same env.
#
# PLUGIN ACTIVATION GUIDANCE (UX):
# `pip install awx_plugins.credentials.x` would auto-activate any plugins the packaged project ships
# [project.entry-points."awx_plugins.credentials"]
# x = "awx_plugins.credentials.x.api:XPlugin"
[project.license]
file = "LICENSE"
# [[project.maintainers]] # if differs from authors
# name = ""
# email = "@"
# [project.optional-dependencies]
# # These are additional runtime dependencies used as feature-flags.
# # The end-users will be able to reference them in their
# # dependencies. Do not abuse as "test" / "dev" deps.
# # Treat as public API.
# a-feature = [
# "a-dependency"
# ]
[project.readme]
file = "README.md"
content-type = "text/markdown"
# [project.scripts]
# # These are entry-point executables for interfacing via CLI:
# executable = "packaged.importable:callable"
[project.urls]
Homepage = "https://docs.ansible.com"
"Chat: Discuss Forum" = "https://forum.ansible.com"
"Chat: Matrix" = "https://matrix.to/#/#awx:ansible.com"
"CI: GitHub" = "https://github.com/ansible/awx_plugins.interfaces/actions/workflows/ci-cd.yml"
"Docs: RTD" = "https://awx-plugins-interfaces.rtfd.io"
"GitHub: issues" = "https://github.com/ansible/awx_plugins.interfaces/issues"
"GitHub: repo" = "https://github.com/ansible/awx_plugins.interfaces"
[tool.setuptools_scm] # this section presence is a feature-flag to activate `setuptools-scm`