title: How to build Python project including dependencies?
body: <p>I have a few projects, all containing <em><code>setup.py</code></em> and <em><code>requirements.txt</code></em>. Is it possible to package a whole project in one single file including all requirements compiled and ready to install?</p>
  
  <p>What I have tried:</p>
  
  <pre><code>python setup.py bdist_wheel
  </code></pre>
  
  <p>Builds a <em><code>.whl</code></em> file and puts it in the <em><code>dist</code></em> directory. The wheel does not contain any dependencies.</p>
  
  <pre><code>pip wheel -r requirements.txt -w wheelhouse
  </code></pre>
  
  <p>Builds wheels for every single requirement and puts it in the <em><code>wheelhouse</code></em> directory. Includes nicely compiled code for <em><code>numpy</code></em> for example (I know I have to build this on every platform I want it to run later on, that's fine).</p>
  
  <p><strong>Seems I am just missing the last piece of the puzzle.</strong></p>