title: Python equivalent of uber-jar
body: <p>I'm looking for the equivalent of an uber-jar in the python world.</p>
  
  <ul>
  <li>I need to distribute a python package to all three major platforms (Windows, Mac, Linux).</li>
  <li>It must be bundled with all its dependencies, as the target platform may lack internet.</li>
  <li><p>It must be a cross-platform distribution, so I don't have to build for multiple targets.  That is, I should be able to run it on all platforms like this:</p>
  
  <p><code>python package.ext</code></p></li>
  </ul>
  
  <p>You can assume that the package is pure python (no native code).  <strong>Is there anything that satisfies these requirements?</strong></p>
  
  <p>I know of the following options, each with deficiencies:</p>
  
  <ul>
  <li><code>.whl</code> packages  require <code>pip</code> for installation.</li>
  <li>I don't know how to create an <code>.egg</code> containing all package dependencies.</li>
  <li>This PEP: <a href="http://legacy.python.org/dev/peps/pep-0441" rel="noreferrer">http://legacy.python.org/dev/peps/pep-0441</a> shows that python supports running <code>.zip</code> files, but AFAICT, the best tooling for creating such a zip is pex (<a href="https://github.com/pantsbuild/pex" rel="noreferrer">https://github.com/pantsbuild/pex</a>), which I think doesn't support Windows</li>
  </ul>