To use Setuptools in your project, the recommended way is to ship ez_setup.py alongside your setup.py script and call it at the very beginning of setup.py like this:
from ez_setup import use_setuptools use_setuptools()
Supporting both Python 2 and Python 3 with Setuptools
Building and Distributing Packages with Setuptools
Enter search terms or a module, class or function name.