Force setuptools to use dependency_links to install mysqlclient
<p>I'm using Windows, and I need to install the WHL file from <a href="https://pypi.python.org/pypi/mysqlclient" rel="nofollow noreferrer">here</a>.  Here's what I have in setup.py:</p>

<pre><code>install_requires=['mysqlclient==1.3.7',
...
dependency_links=['https://pypi.python.org/packages/cp27/m/mysqlclient/mysqlclient-1.3.7-cp27-none-win32.whl#md5=e9e726fd6f1912af78e2bf6ab56c02f3',]
</code></pre>

<p>However, setuptools is downloading the tar.gz file instead and attempting to build, which won't work on my system.  I followed <a href="https://stackoverflow.com/a/17442663/2233706">this solution</a> and changed my <code>install_requires</code> to use <code>mysqlclient&lt;=1.3.7</code>, but I still get the same problem.  Here is the output:</p>

<pre><code>Searching for mysqlclient&lt;=1.3.7
Reading https://pypi.python.org/packages/cp27/P/Pillow/Pillow-2.7.0-cp27-none-win32.whl#md5=ebc4ef88a8dd39ed484206323a8d557a
Reading https://pypi.python.org/packages/cp27/m/mysqlclient/mysqlclient-1.3.7-cp27-none-win32.whl#md5=e9e726fd6f1912af78e2bf6ab56c02f3
Reading http://pypi.python.org/simple/mysqlclient/
Best match: mysqlclient 1.3.7
Downloading https://pypi.python.org/packages/source/m/mysqlclient/mysqlclient-1.3.7.tar.gz#md5=2ec5a96cbd9fd6ef343fa9b581a67fc4
Processing mysqlclient-1.3.7.tar.gz
Running mysqlclient-1.3.7\setup.py -q bdist_egg --dist-dir c:\users\uuu\appdata\local\temp\easy_install-wt7fkw\mysqlclient-1.3.7\egg-dist-tmp-ubrs4f
error: Setup script exited with error: Unable to find vcvarsall.bat
</code></pre>

<p>I don't have any issues with install Pillow using the link in the dependency_links.  Is there a way to force setup.py to use the dependency link?</p>