<div dir="ltr">On Tue, Apr 2, 2013 at 1:41 AM, Daira Hopwood (formerly David-Sarah) <span dir="ltr"><<a href="mailto:david-sarah@jacaranda.org" target="_blank">david-sarah@jacaranda.org</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>But the original assumption was that you would never have multiple versions of a single<br>

package installed. That is, if you wanted to install a new version, you'd uninstall any<br>
older version (and put up with any backward compatibility issues).</blockquote><div><br></div><div>I think you're right.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 In that case, there<br>
would be no "module that you mustn't import" in the same place as a "module you want to<br>
import".<br></blockquote><div><br>Well... you could also have other name-collisions...<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
setuptools promises to allow you to install multiple versions, and that's what fails to<br>
work.<br></blockquote><div><br></div><div>Okay, you're right, but the reason it fails is because that is impossible (for the general case) while maintaining backward-compatibility with builtin import mechanism which prioritizes multiple modules into the same priority bucket based on the directory they are in. If I recall correctly, which is dubious at this point, setuptools itself installs each new module in its own directory (or zip file), so only modules that were installed with non-setuptools installers can run afoul of this limitation in the non-setuptools import mechanism.<br>
<br></div><div>By the way, I heard that at this year's packaging summit at Pycon, the maintainers of setuptools and distribute agreed to combine efforts and make a new series of setuptools, maintained, I guess, by the people responsible for the "distribute" fork.<br>
<br></div><div>Regards,<br><br>Zooko<br></div></div></div></div>