mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
Merge pull request #10096 from gilou/devel
Make setup.py work with Python 3 (and requiring 2.6)
This commit is contained in:
4
setup.py
4
setup.py
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user