Prefered way use your pre build packages. (http://matplotlib.sourceforge.net/users/installing.html).
pip install archery
pip install pypi-stat
pip install –upgrade pypi-stat
References :
pypi_get_stat usage :
Enter search terms or a module, class or function name.