mirror of
https://github.com/ansible/ansible.git
synced 2025-11-30 23:16:08 +07:00
Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Matt Davis <mrd@redhat.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
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',
|
|
'ansible-connection=ansible.cli.scripts.ansible_connection_cli_stub:main',
|
|
],
|
|
},
|
|
)
|