mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
3f245498c4
Fixup distutils: setup.py Clean old cruft: section 5 man pages
34 lines
788 B
Python
34 lines
788 B
Python
#!/usr/bin/env python
|
|
|
|
import glob
|
|
import os
|
|
import sys
|
|
|
|
sys.path.insert(0, os.path.abspath('lib'))
|
|
from ansible import __version__, __author__
|
|
from distutils.core import setup
|
|
|
|
setup(name='ansible',
|
|
version=__version__,
|
|
description='Minimal SSH command and control',
|
|
author=__author__,
|
|
author_email='michael.dehaan@gmail.com',
|
|
url='http://ansible.github.com/',
|
|
license='GPLv3',
|
|
package_dir = { 'ansible' : 'lib/ansible' },
|
|
packages=[
|
|
'ansible',
|
|
],
|
|
data_files=[
|
|
('/usr/share/ansible',
|
|
glob.glob('library/*')
|
|
),
|
|
('/usr/share/man/man1',
|
|
glob.glob('docs/man/man1/*.1')
|
|
),
|
|
],
|
|
scripts=[
|
|
'bin/ansible',
|
|
'bin/ansible-playbook'
|
|
]
|
|
)
|