Make setup.py work with Python 3 (and requiring 2.6)

pull/10096/head
Gilles Pietri 10 years ago
parent 53a3644ecd
commit ee448493d7

@ -9,8 +9,8 @@ from ansible import __version__, __author__
try: try:
from setuptools import setup, find_packages from setuptools import setup, find_packages
except ImportError: except ImportError:
print "Ansible now needs setuptools in order to build. " \ print("Ansible now needs setuptools in order to build. " \
"Install it using your package manager (usually python-setuptools) or via pip (pip install setuptools)." "Install it using your package manager (usually python-setuptools) or via pip (pip install setuptools).")
sys.exit(1) sys.exit(1)
setup(name='ansible', setup(name='ansible',

Loading…
Cancel
Save