Commit e6220748 by Toshio Kuratomi

Prnt error message is unable to use setuptools when building

parent 17f134ca
......@@ -6,7 +6,17 @@ from glob import glob
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from setuptools import setup
try:
from setuptools import setup
raise ImportError
except ImportError:
print('''
ansible now needs setuptools in order to build.
Some scripts now need setuptools installed in order to run.
''')
raise
# find library modules
from ansible.constants import DEFAULT_MODULE_PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment