1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Gilles Pietri 2015-01-26 14:12:35 +01:00
parent 53a3644ecd
commit ee448493d7

View file

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