|
|
|
@ -8,15 +8,10 @@ sys.path.insert(0, os.path.abspath('lib'))
|
|
|
|
from ansible import __version__, __author__
|
|
|
|
from ansible import __version__, __author__
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
from setuptools import setup
|
|
|
|
raise ImportError
|
|
|
|
|
|
|
|
except ImportError:
|
|
|
|
except ImportError:
|
|
|
|
print('''
|
|
|
|
print "Ansible now needs setuptools in order to build. " + \
|
|
|
|
ansible now needs setuptools in order to build.
|
|
|
|
"Install it using your package manager (usually python-setuptools) or via pip (pip install setuptools)."
|
|
|
|
|
|
|
|
sys.exit(1)
|
|
|
|
Some scripts now need setuptools installed in order to run.
|
|
|
|
|
|
|
|
''')
|
|
|
|
|
|
|
|
raise
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# find library modules
|
|
|
|
# find library modules
|
|
|
|
from ansible.constants import DEFAULT_MODULE_PATH
|
|
|
|
from ansible.constants import DEFAULT_MODULE_PATH
|
|
|
|
|