You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/setup.cfg

108 lines
3.4 KiB
INI

[stable-2.14] Docs removal and other backports (#81407) * Remove straight.plugin dependency (#80084) (cherry picked from commit f587856beb4afa11040418ecf83b0bfd3d528ab6) * Update package-data sanity test (#80344) The test no longer relies on the Makefile. (cherry picked from commit 46362bbd2783d25ddc1edaaf4db7d00627ad7e88) * Remove obsolete release bits (#80347) Releases are now built using the `packaging/release.py` tool. This makes the `Makefile` and associated files in `packaging/release/` and `packaging/sdist/` obsolete. * Use --no-isolation for package-data sanity test (#80377) The dependencies are already in the sanity test venv. This avoids use of unpinned dependencies and a dependency on a network connection. (cherry picked from commit 7fcb9960e65591b42c1b46811dd529bae52ddf85) * Set the minimum setuptools to 45.2.0 (#80649) Also update the package-data sanity test to use the minimum setuptools version. (cherry picked from commit 4d25e3d54f7de316c4f1d1575d2cf1ffa46b632c) * Use package_data instead of include_package_data (#80652) This resolves warnings generated by setuptools such as the following: _Warning: Package 'ansible.galaxy.data' is absent from the `packages` configuration. (cherry picked from commit 5ac292e12d5e1515beb34028346d76bb68398fc8) * Fix os.walk issues in package-data sanity test (#80703) * Remove `docs` and `examples` directories (#81011) * Remove docs dir * Updates to reflect docs removal * Fix integration test * Remove examples dir * Updates to reflect examples removal * Remove build_library and build-ansible.py * Remove refs to build_library and build-ansible.py * Remove obsolete template * Remove obsolete template reference * Remove the now obsolete rstcheck sanity test (cherry picked from commit 72e038e8234051b54552d794a22ebef9681ae3ae) * Omit pre-built man pages from sdist (#81395) Since man pages aren't accessible to users after a `pip install`, there's no need to include them in the sdist. This change makes it trivial to build man pages from source, which makes them much easier to iterate on. It also simplifies creation and testing of the sdist, since it no longer requires building man pages. The new `packaging/cli-doc/build.py` script can generate both man pages and RST documentation. This supports inclusion on the docs site without a dependency on `ansible-core` internals. Having a single implementation for both simplifies keeping the two formats in sync. (cherry picked from commit 691c8e86034f1fe099e4ef54880e633b34f0bc7a)
1 year ago
# Minimum target setuptools 45.2.0
[metadata]
name = ansible-core
version = attr: ansible.release.__version__
description = Radically simple IT automation
long_description = file: README.md
long_description_content_type = text/markdown
author = Ansible, Inc.
author_email = info@ansible.com
url = https://ansible.com/
project_urls =
Bug Tracker=https://github.com/ansible/ansible/issues
CI: Azure Pipelines=https://dev.azure.com/ansible/ansible/
Code of Conduct=https://docs.ansible.com/ansible/latest/community/code_of_conduct.html
Documentation=https://docs.ansible.com/ansible-core/
Mailing lists=https://docs.ansible.com/ansible/latest/community/communication.html#mailing-list-information
Source Code=https://github.com/ansible/ansible
license = GPLv3+
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Natural Language :: English
Operating System :: POSIX
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Topic :: System :: Installation/Setup
Topic :: System :: Systems Administration
Topic :: Utilities
[options]
zip_safe = False
python_requires = >=3.9
# keep ansible-test as a verbatim script to work with editable installs, since it needs to do its
# own package redirection magic that's beyond the scope of the normal `ansible` path redirection
# done by setuptools `develop`
scripts =
bin/ansible-test
[stable-2.14] Docs removal and other backports (#81407) * Remove straight.plugin dependency (#80084) (cherry picked from commit f587856beb4afa11040418ecf83b0bfd3d528ab6) * Update package-data sanity test (#80344) The test no longer relies on the Makefile. (cherry picked from commit 46362bbd2783d25ddc1edaaf4db7d00627ad7e88) * Remove obsolete release bits (#80347) Releases are now built using the `packaging/release.py` tool. This makes the `Makefile` and associated files in `packaging/release/` and `packaging/sdist/` obsolete. * Use --no-isolation for package-data sanity test (#80377) The dependencies are already in the sanity test venv. This avoids use of unpinned dependencies and a dependency on a network connection. (cherry picked from commit 7fcb9960e65591b42c1b46811dd529bae52ddf85) * Set the minimum setuptools to 45.2.0 (#80649) Also update the package-data sanity test to use the minimum setuptools version. (cherry picked from commit 4d25e3d54f7de316c4f1d1575d2cf1ffa46b632c) * Use package_data instead of include_package_data (#80652) This resolves warnings generated by setuptools such as the following: _Warning: Package 'ansible.galaxy.data' is absent from the `packages` configuration. (cherry picked from commit 5ac292e12d5e1515beb34028346d76bb68398fc8) * Fix os.walk issues in package-data sanity test (#80703) * Remove `docs` and `examples` directories (#81011) * Remove docs dir * Updates to reflect docs removal * Fix integration test * Remove examples dir * Updates to reflect examples removal * Remove build_library and build-ansible.py * Remove refs to build_library and build-ansible.py * Remove obsolete template * Remove obsolete template reference * Remove the now obsolete rstcheck sanity test (cherry picked from commit 72e038e8234051b54552d794a22ebef9681ae3ae) * Omit pre-built man pages from sdist (#81395) Since man pages aren't accessible to users after a `pip install`, there's no need to include them in the sdist. This change makes it trivial to build man pages from source, which makes them much easier to iterate on. It also simplifies creation and testing of the sdist, since it no longer requires building man pages. The new `packaging/cli-doc/build.py` script can generate both man pages and RST documentation. This supports inclusion on the docs site without a dependency on `ansible-core` internals. Having a single implementation for both simplifies keeping the two formats in sync. (cherry picked from commit 691c8e86034f1fe099e4ef54880e633b34f0bc7a)
1 year ago
[options.package_data]
ansible =
config/*.yml
executor/powershell/*.ps1
galaxy/data/*.yml
galaxy/data/*/*.j2
galaxy/data/*/*.md
galaxy/data/*/*/*.cfg
galaxy/data/*/*/*.j2
galaxy/data/*/*/*.md
galaxy/data/*/*/*/*.j2
galaxy/data/*/*/*/*.yml
galaxy/data/*/*/*/.git_keep
galaxy/data/*/*/*/inventory
galaxy/data/*/*/.git_keep
galaxy/data/*/*/inventory
keyword_desc.yml
module_utils/csharp/*.cs
module_utils/powershell/*.psm1
plugins/*/*.yml
ansible_test =
_data/*/*.in
_data/*/*.ps1
_data/*/*.txt
_data/*/*.yml
_data/*/*/*.ini
_data/ansible.cfg
_data/coveragerc
_util/*/*/*.ps1
_util/*/*/*.py
_util/*/*/*.sh
_util/*/*/*/*.ini
_util/*/*/*/*.json
_util/*/*/*/*.ps1
_util/*/*/*/*.psd1
_util/*/*/*/*.py
_util/*/*/*/*.txt
_util/*/*/*/*/*.cfg
_util/*/*/*/*/*.ps1
_util/*/*/*/*/*.py
_util/*/*/*/*/*.yml
config/*.template
config/*.yml
# setuptools 51.0.0
# [options.entry_points]
# console_scripts =
# ansible = ansible.cli.adhoc:main
# ansible-config = ansible.cli.config:main
# ansible-console = ansible.cli.console:main
# ansible-doc = ansible.cli.doc:main
# ansible-galaxy = ansible.cli.galaxy:main
# ansible-inventory = ansible.cli.inventory:main
# ansible-playbook = ansible.cli.playbook:main
# ansible-pull = ansible.cli.pull:main
# ansible-vault = ansible.cli.vault:main
# ansible-connection = ansible.cli.scripts.ansible_connection_cli_stub:main
# ansible-test = ansible_test._util.target.cli.ansible_test_cli_stub:main
[flake8]
max-line-length = 160