If you are using virtualenv, it is not recommended that you update the setuptools package right away due to some security considerations that I got after searching for SO. you should ideally upgrade your virtualenv package to the latest version, which when creating a virtual environment with this command
virtualenv <name of virtual environment>
install 2 packages. 1) pip 2) setuptools Thus, both pip and setuptools will have the latest versions.
ashish jain
source share