I forgot to ask the other question,
When i do $sudo make install , I always get the following error /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: ‘install_requires’
Error:
python setup.py install
DATA FILES=[(‘/usr/share/ansible/’, [‘./library/mysql_db’, ‘./library/mail’, ‘./library/facter’, ‘./library/seboolean’, ‘./library/mount’, ‘./library/git’, ‘./library/cron’, ‘./library/apt_repository’, ‘./library/hg’, ‘./library/assemble’, ‘./library/add_host’, ‘./library/rabbitmq_vhost’, ‘./library/subversion’, ‘./library/authorized_key’, ‘./library/pause’, ‘./library/pip’, ‘./library/setup’, ‘./library/user’, ‘./library/ohai’, ‘./library/async_wrapper’, ‘./library/apt_key’, ‘./library/selinux’, ‘./library/apt’, ‘./library/mysql_user’, ‘./library/wait_for’, ‘./library/fireball’, ‘./library/postgresql_db’, ‘./library/ini_file’, ‘./library/get_url’, ‘./library/async_status’, ‘./library/easy_install’, ‘./library/pacman’, ‘./library/lineinfile’, ‘./library/virt’, ‘./library/command’, ‘./library/ec2_vol’, ‘./library/rabbitmq_user’, ‘./library/ec2’, ‘./library/debug’, ‘./library/template’, ‘./library/shell’, ‘./library/svr4pkg’, ‘./library/script’, ‘./library/nagios’, ‘./library/zfs’, ‘./library/rabbitmq_plugin’, ‘./library/slurp’, ‘./library/ping’, ‘./library/service’, ‘./library/mongodb_user’, ‘./library/fetch’, ‘./library/pkgin’, ‘./library/group’, ‘./library/raw’, ‘./library/supervisorctl’, ‘./library/yum’, ‘./library/uri’, ‘./library/fail’, ‘./library/file’, ‘./library/sysctl’, ‘./library/group_by’, ‘./library/ec2_facts’, ‘./library/copy’, ‘./library/postgresql_user’])]
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
Which on my local machine have silenced it by importing setup. Just want to know if its a known issue or an issue with my environment.
$ git diff
diff --git a/setup.py b/setup.py
index 00018cc…694a374 100644
— a/setup.py
+++ b/setup.py
@@ -7,6 +7,7 @@ from glob import glob
sys.path.insert(0, os.path.abspath(‘lib’))
from ansible import version, author
from distutils.core import setup
+from setuptools import setup
find library modules
from ansible.constants import DIST_MODULE_PATH
Regards,–
Kavin Kankeshwar