<p dir="ltr">On Nov 23, 2016 11:33 AM, "Brett Cannon" <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>
><br>
> This then ties into Kenneth's pipfile idea he's working on as it then makes sense to make a wagon/wheelhouse for a lock file. To also tie into the container aspect, if you dev on Windows but deploy to Linux, this can allow for gathering your dependencies locally for Linux on your Windows box and then deploy the set as a unit to your server (something Steve Dower and I have thought about and why we support a lock file concept).<br>
><br>
> And if we use zip files with no nesting then as long as it's only Python code you could use zipimporter on the bundle directly.</p>
<p dir="ltr">The "only Python code" restriction pretty much rules this out as anything like a general solution though...</p>
<p dir="ltr">If people are investigating this, though, pex should also be considered as a source of prior art / inspiration:<br>
  <a href="https://pex.readthedocs.io/en/stable/whatispex.html">https://pex.readthedocs.io/en/stable/whatispex.html</a></p>
<p dir="ltr">-n</p>