<div class="gmail_quote">On Sun, Nov 18, 2012 at 8:54 PM, Kristján Valur Jónsson <span dir="ltr"><<a href="mailto:kristjan@ccpgames.com" target="_blank">kristjan@ccpgames.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don't have a well formed solution in mind, but I would see it desirable to have a way for someone to release his package with all its dependencies as a self-contained and isolated unit.  E.g. if package foo.py relies on functionality from version 1.7 of bar.py, then that functionality could be bottled up for foo´s exclusive usage.<br>

Another package, baz.py, could then also make use of bar, but version 1.8.  The two bar versions would be isolated.<br>
<br>
Perhaps this is just a pipedream.  Even unpossible.  But it doesn't harm to try to think about better ways to do things.<br><span class="HOEnZb"></span><br></blockquote><div><br>Easily bundling dependencies is a key principle behind the ability to execute directories and zipfiles that contain a top level __main__.py file that was added back in 2.6 (although the zipfile version doesn't play nicely with extension modules).<br>
<br>Cheers,<br>Nick.<br> <br></div></div>-- <br>Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>