ansible/setup.py

35 lines
788 B
Python
Raw Normal View History

2012-02-24 03:07:03 +01:00
#!/usr/bin/env python
import glob
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
2012-02-24 03:07:03 +01:00
from distutils.core import setup
setup(name='ansible',
version=__version__,
2012-02-24 03:07:03 +01:00
description='Minimal SSH command and control',
author=__author__,
2012-02-24 03:07:03 +01:00
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
2012-02-24 03:07:03 +01:00
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')
),
2012-02-24 03:07:03 +01:00
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
2012-02-24 03:07:03 +01:00
]
)