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.
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
import pathlib
|
|
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
here = pathlib.Path(__file__).parent.resolve()
|
|
|
|
|
|
|
|
install_requires = (here / 'requirements.txt').read_text(encoding='utf-8').splitlines()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
install_requires=install_requires,
|
|
|
|
package_dir={'': 'lib',
|
|
|
|
'ansible_test': 'test/lib/ansible_test'},
|
|
|
|
packages=find_packages('lib') + find_packages('test/lib'),
|
|
|
|
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',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|