| 1 |
[build-system] |
| 2 |
requires = ["setuptools >= 77.0.3, <= 84.0.0"] # lower bound to support license/license-files (PEP 639), upper bound for latest version tested at release |
| 3 |
build-backend = "setuptools.build_meta" |
| 4 |
|
| 5 |
[project] |
| 6 |
requires-python = ">=3.13" |
| 7 |
name = "ansible-core" |
| 8 |
authors = [ |
| 9 |
{name = "Ansible Project"}, |
| 10 |
] |
| 11 |
description = "Radically simple IT automation" |
| 12 |
readme = "README.md" |
| 13 |
license = "GPL-3.0-or-later" |
| 14 |
license-files = [ |
| 15 |
"COPYING", |
| 16 |
"licenses/*.txt", |
| 17 |
] |
| 18 |
classifiers = [ |
| 19 |
"Development Status :: 5 - Production/Stable", |
| 20 |
"Environment :: Console", |
| 21 |
"Intended Audience :: Developers", |
| 22 |
"Intended Audience :: Information Technology", |
| 23 |
"Intended Audience :: System Administrators", |
| 24 |
"Natural Language :: English", |
| 25 |
"Operating System :: POSIX", |
| 26 |
"Programming Language :: Python :: 3", |
| 27 |
"Programming Language :: Python :: 3.13", |
| 28 |
"Programming Language :: Python :: 3.14", |
| 29 |
"Programming Language :: Python :: 3.15", |
| 30 |
"Programming Language :: Python :: 3 :: Only", |
| 31 |
"Topic :: System :: Installation/Setup", |
| 32 |
"Topic :: System :: Systems Administration", |
| 33 |
"Topic :: Utilities", |
| 34 |
] |
| 35 |
dynamic = ["version", "dependencies"] |
| 36 |
|
| 37 |
[project.urls] |
| 38 |
"Homepage" = "https://ansible.com/" |
| 39 |
"Source Code" = "https://github.com/ansible/ansible/" |
| 40 |
"Bug Tracker" = "https://github.com/ansible/ansible/issues/" |
| 41 |
"CI: Azure Pipelines" = "https://dev.azure.com/ansible/ansible/" |
| 42 |
"Documentation" = "https://docs.ansible.com/ansible-core/" |
| 43 |
"Code of Conduct" = "https://docs.ansible.com/ansible/latest/community/code_of_conduct.html" |
| 44 |
|
| 45 |
[tool.setuptools.dynamic] |
| 46 |
version = {attr = "ansible.release.__version__"} |
| 47 |
dependencies = {file = "requirements.txt"} |
| 48 |
|
| 49 |
[tool.setuptools] |
| 50 |
include-package-data = false |
| 51 |
|
| 52 |
[tool.setuptools.packages.find] |
| 53 |
where = ["lib", "test/lib"] |
| 54 |
|
| 55 |
[tool.setuptools.package-data] |
| 56 |
ansible = [ |
| 57 |
"_internal/ansible_collections/*/*/plugins/*/*.yml", |
| 58 |
"_internal/ansible_collections/*/*/*.md", |
| 59 |
"config/*.yml", |
| 60 |
"executor/powershell/*.ps1", |
| 61 |
"galaxy/data/COPYING", |
| 62 |
"galaxy/data/*.yml", |
| 63 |
"galaxy/data/*/*.j2", |
| 64 |
"galaxy/data/*/*.md", |
| 65 |
"galaxy/data/*/*/*.cfg", |
| 66 |
"galaxy/data/*/*/*.j2", |
| 67 |
"galaxy/data/*/*/*.md", |
| 68 |
"galaxy/data/*/*/*/*.j2", |
| 69 |
"galaxy/data/*/*/*/*.yml", |
| 70 |
"galaxy/data/*/*/*/.git_keep", |
| 71 |
"galaxy/data/*/*/*/inventory", |
| 72 |
"galaxy/data/*/*/.git_keep", |
| 73 |
"galaxy/data/*/*/inventory", |
| 74 |
"keyword_desc.yml", |
| 75 |
"module_utils/csharp/*.cs", |
| 76 |
"module_utils/powershell/*.psm1", |
| 77 |
"plugins/*/*.yml", |
| 78 |
] |
| 79 |
ansible_test = [ |
| 80 |
"_data/*/*.in", |
| 81 |
"_data/*/*.ps1", |
| 82 |
"_data/*/*.txt", |
| 83 |
"_data/*/*.yml", |
| 84 |
"_data/*/*/*.ini", |
| 85 |
"_data/ansible.cfg", |
| 86 |
"_data/coveragerc", |
| 87 |
"_util/*/*/*.ps1", |
| 88 |
"_util/*/*/*.py", |
| 89 |
"_util/*/*/*.sh", |
| 90 |
"_util/*/*/*/*.ini", |
| 91 |
"_util/*/*/*/*.json", |
| 92 |
"_util/*/*/*/*.ps1", |
| 93 |
"_util/*/*/*/*.psd1", |
| 94 |
"_util/*/*/*/*.py", |
| 95 |
"_util/*/*/*/*.txt", |
| 96 |
"_util/*/*/*/*/*.cfg", |
| 97 |
"_util/*/*/*/*/*.ps1", |
| 98 |
"_util/*/*/*/*/*.py", |
| 99 |
"_util/*/*/*/*/*.yml", |
| 100 |
"config/*.template", |
| 101 |
"config/*.yml", |
| 102 |
] |
| 103 |
|
| 104 |
[project.scripts] |
| 105 |
ansible = "ansible.cli.adhoc:main" |
| 106 |
ansible-config = "ansible.cli.config:main" |
| 107 |
ansible-console = "ansible.cli.console:main" |
| 108 |
ansible-doc = "ansible.cli.doc:main" |
| 109 |
ansible-galaxy = "ansible.cli.galaxy:main" |
| 110 |
ansible-inventory = "ansible.cli.inventory:main" |
| 111 |
ansible-playbook = "ansible.cli.playbook:main" |
| 112 |
ansible-pull = "ansible.cli.pull:main" |
| 113 |
ansible-vault = "ansible.cli.vault:main" |
| 114 |
ansible-test = "ansible_test._util.target.cli.ansible_test_cli_stub:main" |