title: pip install --find-links html file format
body: <p>I need to include a few python packages into my product, but the jenkins server that does the build does not have access to the Internet. I've downloaded one of the packages using pip download, which downloaded the package and all its dependencies. However, I need to make sure pip knows where to find those dependencies. I'm trying to use the options --no-index and --find-links with a path to an html file with links to those packages. The full command looks like this:</p>
  
  <pre><code>pip install http://SERVER/python-packages/impyla/0.14.0/impyla-0.14.0.tar.gz --no-index --trusted-host SERVER --find-links http://SERVER/python-packages/impyla/0.14.0/packages.html
  </code></pre>
  
  <p>...and the packages.html file looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="http://SERVER/python-packages/impyla/0.14.0/bitarray-0.8.1.tar.gz"&gt;bitarray-0.8.1.tar.gz&lt;/a&gt;
  &lt;a href="http://SERVER/python-packages/impyla/0.14.0/ply-3.10.tar.gz"&gt;ply-3.10.tar.gz&lt;/a&gt;
  &lt;a href="http://SERVER/python-packages/impyla/0.14.0/six-1.10.0-py2.py3-none-any.whl"&gt;six-1.10.0-py2.py3-none-any.whl&lt;/a&gt;
  &lt;a href="http://SERVER/python-packages/impyla/0.14.0/thriftpy-0.3.9.tar.gz"&gt;thriftpy-0.3.9.tar.gz&lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>However, when jenkins tries to run these commands, I get:</p>
  
  <blockquote>
    <p>Could not find a version that satisfies the requirement
    thriftpy>=0.3.5 (from impyla==0.14.0) (from versions: )</p>
    
    <p>No matching distribution found for thriftpy>=0.3.5 (from
    impyla==0.14.0)</p>
  </blockquote>
  
  <p>I'm wondering if my packages.html isn't in a correct format, but I can't find any examples of using an html file for dependency resolution. Has anyone used --find-links successfully?</p>